1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Dialog.BuilderModule = {
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 / Create builder_modules",
42 xtype: 'ContentPanel',
50 actioncomplete : function(_self,action)
52 if (action.type == 'setdata') {
54 this.load({ method: 'GET', params: { '_id' : _this.data.id }});
59 if (action.type == 'load') {
63 if (action.type =='submit') {
69 _this.callback.call(_this, _this.form.getValues());
75 rendered : function (form)
77 this.dialog = _this.dialog;
82 style : 'margin:10px;',
83 url : baseURL + '/Roo/builder_modules.php',
102 fieldLabel : 'Public',
117 xtype: 'LayoutRegion',
125 click : function (_self, e)
136 click : function (_self, e)
141 _this.form.doAction("submit");