3 "name": "Pman.Dialog.CmsCategoryType",
5 "title": "Pman.Dialog.CmsCategoryType",
6 "path": "/home/chris/gitlive/Pman.Cms/Pman.Dialog.CmsCategoryType.bjs",
10 "show": "function (_self)\n{\n this.form.findField('name').focus();\n\n}"
16 "title": "Edit / Create Category Type",
18 "xtype": "LayoutDialog",
23 "xtype": "LayoutRegion",
28 "xtype": "ContentPanel",
33 "|actioncomplete": "function(_self,action)\n{\n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n //this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.el.unmask();\n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n}\n",
34 "|rendered": "function (form)\n{\n _this.form= form;\n}\n"
37 "style": "margin:10px;",
39 "|url": "baseURL + '/Roo/cms_category_type.php'",
60 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
69 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"