Permalink
Browse files

Read As Text missing load event call

FileReader.readAsText didn't call the onload callback on success.
  • Loading branch information...
1 parent d424af0 commit d74569ffa74c2a4830229ee4e5d7a2d86ab1ecad @macdonst macdonst committed Apr 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 framework/assets/js/file.js
@@ -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

0 comments on commit d74569f

Please sign in to comment.