projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9cc463
)
Pman.Download.js
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Aug 2019 07:18:41 +0000
(15:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Aug 2019 07:18:41 +0000
(15:18 +0800)
Pman.Download.js
patch
|
blob
|
history
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
f8d1ca3
..
5342269
100644
(file)
--- a/
Pman.Download.js
+++ b/
Pman.Download.js
@@
-191,7
+191,9
@@
Roo.apply(Pman.Download.prototype, {
Roo.MessageBox.alert("Download Error", doc.body.innerHTML);
success = false;
-
+ if (this.failure) {
+ this.failure();
+ }
}
@@
-202,6
+204,9
@@
Roo.apply(Pman.Download.prototype, {
Roo.log(e.toString());
Roo.log(e);
}
+ if (this.success) {
+ this.success();
+ }
// we can not actually do anything with the frame... as it may actually still be downloading..
return true;