Pman.Dialog.Image.bjs
[Pman.Core] / Pman.Dialog.Image.bjs
index 1c2306d..e783d3f 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        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",