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