1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Dialog.XtupleBankAccnt = {
10 show : function(data, cb)
18 this.dialog.show(this.data._el);
21 this.form.setValues(data);
22 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
30 this.dialog = Roo.factory({
31 xtype: 'LayoutDialog',
38 title : "Edit Bank Account",
42 xtype: 'ContentPanel',
50 actioncomplete : function(_self,action)
52 if (action.type == 'setdata') {
55 _this.dialog.el.mask("Loading");
56 this.load({ method: 'GET', params: { '_id' : _this.data.id }});
62 if (action.type == 'load') {
63 _this.dialog.el.unmask();
66 if (action.type =='submit') {
68 _this.dialog.el.unmask();
72 _this.callback.call(_this, _this.form.getValues());
78 rendered : function (form)
84 style : 'margin:10px;',
85 url : baseURL + '/Roo/Bankaccnt.php',
91 emptyText : "Automatic",
93 name : 'bankaccnt_name',
101 fieldLabel : 'Description',
102 name : 'bankaccnt_descrip',
108 name : 'bankaccnt_id'
116 xtype: 'LayoutRegion',
124 click : function (_self, e)
135 click : function (_self, e)
138 _this.form.doAction("submit");