3 "name": "Pman.Dialog.XtupleVendTypeEdit",
6 "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleVendTypeEdit.bjs",
14 "title": "Edit / Create Vendor Type",
16 "xtype": "LayoutDialog",
21 "xtype": "LayoutRegion",
26 "xtype": "ContentPanel",
31 "|actioncomplete": "function(_self,action)\n{\n if (action.type == 'setdata') {\n if(_this.data.vendtype_id){\n _this.dialog.el.mask(\"Loading\");\n this.load({ method: 'GET', params: { '_id' : _this.data.vendtype_id }});\n }\n return;\n }\n if (action.type == 'load') {\n _this.data = action.result.data;\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, action.result.data);\n }\n _this.form.reset();\n return;\n }\n}\n",
32 "|rendered": "function (form)\n{\n _this.form= form;\n}\n"
35 "style": "margin:10px;",
37 "|url": "baseURL + '/Roo/Vendtype.php'",
42 "name": "vendtype_code",
48 "fieldLabel": "Description",
49 "name": "vendtype_descrip",
55 "name": "vendtype_id",
65 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
74 "click": "function (_self, e)\n{\n _this.form.doAction(\"submit\");\n\n}"