DataObjects/Events.php
[Pman.Core] / Pman.Dialog.CoreCompanies.bjs
index 7618719..463b7fe 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Dialog.CoreCompanies",
  "parent" : "",
  "title" : "",
- "path" : "/home/khlau/gitlive/Pman.Core/Pman.Dialog.CoreCompanies.bjs",
+ "path" : "/home/alan/gitlive/Pman.Core/Pman.Dialog.CoreCompanies.bjs",
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
@@ -94,9 +94,9 @@
            "listeners" : {
             "render" : "function (_self)\n{\n    _this.etypeCombo = _self;\n}"
            },
+           "Boolean allowBlank" : false,
            "alwaysQuery" : true,
            "listWidth" : 250,
-           "Boolean allowBlank" : false,
            "triggerAction" : "all",
            "fieldLabel" : "Type",
            "forceSelection" : true,
           },
           {
            "listeners" : {
-            "click" : "function (_self, e)\n{\n    var _t = _this.form.findField('logo_id');\n                         \n    Pman.Dialog.Image.show({\n        onid :_this.data.id,\n        ontable : 'Companies',\n        imgtype : 'LOGO'\n    }, function(data) {\n        if  (data) {\n            _t.setValue(data.id);\n        }\n        \n    });\n}"
+            "click" : "function (_self, e)\n{\n    var _t = _this.form.findField('logo_id');\n                         \n    Pman.Dialog.Image.show({\n        onid :_this.data.id,\n        ontable : 'core_company',\n        imgtype : 'LOGO'\n    }, function(data) {\n        if  (data) {\n            _t.setValue(data.id);\n        }\n        \n    });\n}"
            },
            "text" : "Add Image",
            "xtype" : "Button",