mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Read As Text missing load event call
FileReader.readAsText didn't call the onload callback on success.
This commit is contained in:
parent
d424af03e4
commit
d74569ffa7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user