From 0aa83362323d843856acb1f328f7722ad0acbd00 Mon Sep 17 00:00:00 2001 From: john Date: Mon, 4 Dec 2017 12:03:45 +0800 Subject: [PATCH] Pman.Dialog.Image.bjs 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 fe7dfa0c..75c1138a 100644 --- a/Pman.Dialog.Image.bjs +++ b/Pman.Dialog.Image.bjs @@ -170,7 +170,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 = 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", diff --git a/Pman.Dialog.Image.js b/Pman.Dialog.Image.js index e11dbac4..4cb3d98a 100644 --- a/Pman.Dialog.Image.js +++ b/Pman.Dialog.Image.js @@ -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); -- 2.39.2