Read As Text missing load event call

FileReader.readAsText didn't call the onload callback on success.
This commit is contained in:
macdonst 2011-04-01 22:58:58 +08:00
parent d424af03e4
commit d74569ffa7

View File

@ -228,6 +228,7 @@ FileReader.prototype.readAsText = function(file, encoding) {
// If onload callback
if (typeof me.onload === "function") {
me.onload({"type":"load", "target":me});
}
// DONE state