From: Alan Knowles Date: Thu, 4 Nov 2010 04:42:39 +0000 (+0800) Subject: Pman.Dialog.Image.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7eebd79b2f56815f5f53da6deac5cd04e107a73b Pman.Dialog.Image.bjs --- diff --git a/Pman.Dialog.Image.bjs b/Pman.Dialog.Image.bjs index 1c2306d3..e783d3f9 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 url: this.url,\n method: 'POST',\n params: {\n // _id: 0 ,\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 = false,\n _this.dialog.uploadProgress.defer(1000, _this.dialog);\n\n}" }, "*prop": "buttons[]", "text": "Upload",