Pman.Dialog.Image.bjs
authorjohn <john@roojs.com>
Mon, 4 Dec 2017 07:01:48 +0000 (15:01 +0800)
committerjohn <john@roojs.com>
Mon, 4 Dec 2017 07:01:48 +0000 (15:01 +0800)
Pman.Dialog.Image.js

Pman.Dialog.Image.bjs
Pman.Dialog.Image.js

index 2551eca..052df17 100644 (file)
@@ -95,7 +95,7 @@
     },
     {
      "listeners" : {
-      "click" : "function (_self, e)\n{\n    // do some checks?\n     \n    //_this.dialog.el.mask(\"Sending\");\n    \n    _this.dialog.uploadComplete = false;\n    _this.form.doAction('submit', {\n        params: {\n            ts : Math.random()\n        }\n    });\n    _this.dialog.haveProgress = 0; // set to show..\n    _this.dialog.uploadProgress.defer(1000, _this.dialog);\n}"
+      "click" : "function (_self, e)\n{\n    // do some checks?\n     \n    //_this.dialog.el.mask(\"Sending\");\n    \n    _this.dialog.uploadComplete = false;\n    _this.form.doAction('submit', {\n        params: {\n            ts : Math.random()\n        }\n    });\n    \n    _this.dialog.haveProgress = 0; // set to show..\n    _this.dialog.uploadProgress.defer(1000, _this.dialog);\n}"
      },
      "xtype" : "Button",
      "html" : "Upload",
index 757931d..b654895 100644 (file)
@@ -122,6 +122,7 @@ Roo.apply(Pman.Dialog.Image.prototype, {
                     ts : Math.random()
                 }
             });
+            
             _this.dialog.haveProgress = 0; // set to show..
             _this.dialog.uploadProgress.defer(1000, _this.dialog);
         }