3 "name": "Pman.Dialog.XtupleGLAccountNameEdit",
6 "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleGLAccountNameEdit.bjs",
14 "title": "Edit Account Name",
16 "xtype": "LayoutDialog",
21 "xtype": "LayoutRegion",
26 "xtype": "ContentPanel",
31 "|actioncomplete": "function(_self,action)\n{\n if (action.type == 'setdata') {\n if(_this.data.accnt_id * 1 >1){\n _this.dialog.el.mask(\"Loading\");\n this.load({ method: 'GET', params: { '_id' : _this.data.accnt_id }});\n }\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",
32 "|rendered": "function (form)\n{\n _this.form= form;\n}\n"
36 "style": "margin:10px;",
38 "|url": "baseURL + '/Roo/Accnt.php'",
43 "fieldLabel": "Account Name",
44 "name": "accnt_descrip",
51 "fieldLabel": "Alternative Code",
52 "name": "accnt_code_alt",
59 "fieldLabel": "Alternative Description",
60 "name": "accnt_descrip_alt",
76 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
85 "click": "function (_self, e)\n{\n \n _this.form.doAction(\"submit\");\n\n}"