From: Alan Knowles Date: Wed, 14 Aug 2019 07:18:41 +0000 (+0800) Subject: Pman.Download.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=1e8996fe4e3e9f42250974413047afc9e0fef43a Pman.Download.js --- diff --git a/Pman.Download.js b/Pman.Download.js index f8d1ca3a..53422696 100644 --- 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;