Pman.Dialog.Image.bjs
authorjohn <john@roojs.com>
Mon, 4 Dec 2017 04:03:45 +0000 (12:03 +0800)
committerjohn <john@roojs.com>
Mon, 4 Dec 2017 04:03:45 +0000 (12:03 +0800)
Pman.Dialog.Image.js

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

index fe7dfa0..75c1138 100644 (file)
     },
     {
      "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 = 0; // set to show..\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; // set to show..\n    _this.dialog.uploadProgress.defer(1000, _this.dialog);\n\n}"
      },
      "text" : "Upload",
      "xtype" : "Button",
index e11dbac..4cb3d98 100644 (file)
@@ -174,7 +174,7 @@ Pman.Dialog.Image = {
             _this.form.doAction('submit', {
                 params: {
                     ts : Math.random()
-                } 
+                }
             });
             _this.dialog.haveProgress = 0; // set to show..
             _this.dialog.uploadProgress.defer(1000, _this.dialog);