Fix #5773 - Product edit changes
[Pman.Core] / Pman.Dialog.Image.bjs
index 3793d46..7a32314 100644 (file)
@@ -86,9 +86,9 @@
          "name" : "imageUpload"
         },
         {
+         "String actionMode" : "fieldEl",
          "alwaysQuery" : true,
          "listWidth" : 400,
-         "String actionMode" : "fieldEl",
          "triggerAction" : "all",
          "fieldLabel" : "Image Type",
          "forceSelection" : true,
     },
     {
      "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",