From d10417827967627fa6e2628c154f52addd9e9548 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 28 Sep 2011 10:06:12 +0800 Subject: [PATCH] Pman.Dialog.Image.bjs Pman.Dialog.Image.bjs Pman.Dialog.Image.js Pman.Dialog.Image.js --- Pman.Dialog.Image.bjs | 2 +- Pman.Dialog.Image.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.Image.bjs b/Pman.Dialog.Image.bjs index 02f9f816..b2547ff3 100644 --- a/Pman.Dialog.Image.bjs +++ b/Pman.Dialog.Image.bjs @@ -103,7 +103,7 @@ }, { "listeners": { - "click": "function (_self, e)\n{\n // do some checks?\n \n _this.dialog.el.mask(\"Sending\");\n _this.dialog.uploadComplete = false;\n _this.form.doAction('submit', {\n params: {\n ts : Math.random()\n } \n });\n _this.dialog.haveProgress = false,\n _this.dialog.uploadProgress.defer(1000, _this.dialog);\n\n}" + "click": "function (_self, e)\n{\n // do some checks?\n \n _this.dialog.el.mask(\"Sending\");\n _this.dialog.uploadComplete = false;\n _this.form.doAction('submit', {\n params: {\n ts : Math.random()\n } \n });\n _this.dialog.haveProgress = 0,\n _this.dialog.uploadProgress.defer(1000, _this.dialog);\n\n}" }, "*prop": "buttons[]", "text": "Upload", diff --git a/Pman.Dialog.Image.js b/Pman.Dialog.Image.js index 165816af..18ed2ccd 100644 --- a/Pman.Dialog.Image.js +++ b/Pman.Dialog.Image.js @@ -248,7 +248,7 @@ Pman.Dialog.Image = { ts : Math.random() } }); - _this.dialog.haveProgress = false, + _this.dialog.haveProgress = 0, _this.dialog.uploadProgress.defer(1000, _this.dialog); } -- 2.39.2