mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +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 onload callback
|
||||||
if (typeof me.onload === "function") {
|
if (typeof me.onload === "function") {
|
||||||
|
me.onload({"type":"load", "target":me});
|
||||||
}
|
}
|
||||||
|
|
||||||
// DONE state
|
// DONE state
|
||||||
|
Loading…
Reference in New Issue
Block a user