X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.Image.bjs;h=7a323149da3d19dc18d796cd96481af553715f1b;hb=c711d090aa2e6f3dc7225ab3df62fd0f2a70217e;hp=21c95a1bd96146fed4a10a80768ebced3a41d8f8;hpb=4bd115578ad366062e33f1b161d530ed70d814de;p=Pman.Core diff --git a/Pman.Dialog.Image.bjs b/Pman.Dialog.Image.bjs index 21c95a1b..7a323149 100644 --- a/Pman.Dialog.Image.bjs +++ b/Pman.Dialog.Image.bjs @@ -86,6 +86,7 @@ "name" : "imageUpload" }, { + "String actionMode" : "fieldEl", "alwaysQuery" : true, "listWidth" : 400, "triggerAction" : "all", @@ -169,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",