Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.bjs
index 271ac35..e675396 100644 (file)
@@ -6,9 +6,6 @@
     "path": "/home/chris/gitlive/Pman.Core/Pman.Dialog.CoreCompanies.bjs",
     "items": [
         {
-            "listeners": {
-                "beforeshow": "function (_self)\n{\n    if (data.isOwner || !Pman.Login.isOwner()) {\n        this.dialog.setTitle(\"Your Company Details\");\n        if (_this.form.findField('comptype')) {\n            _this.form.findField('comptype').disable();\n        }\n        \n        \n        \n        \n    } else {\n        this.dialog.setTitle(data.id ? \"Edit Company\" : \"Add Company\");\n        if (_this.form.findField('comptype')) {\n            _this.form.findField('comptype').enable();\n        }\n    }\n}"
-            },
             "autoCreate": "true",
             "closable": false,
             "collapsible": false,