Pman.Dialog.Image.bjs
[Pman.Core] / Pman.Dialog.Image.bjs
index 94c9f9d..b94cf99 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-32",
+    "id": "roo-file-100",
     "name": "Pman.Dialog.Image",
     "parent": "",
     "title": "",
                                     "xtype": "Hidden",
                                     "|xns": "Roo.form"
                                 },
+                                {
+                                    "name": "id",
+                                    "xtype": "Hidden",
+                                    "|xns": "Roo.form"
+                                },
                                 {
                                     "name": "imgtype",
                                     "xtype": "Hidden",
                 },
                 {
                     "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}"
                     },
                     "*prop": "buttons[]",
                     "text": "Upload",