1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Dialog.BuilderAppEdit = {
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',
34 show : function (_self)
45 title : "Edit / Create Module",
49 xtype: 'ContentPanel',
59 actionfailed : function (_self, action)
61 _this.dialog.el.unmask();
62 Pman.standardActionFailed(_self, action);
64 actioncomplete : function (_self, action)
66 if (action.type == 'submit') {
67 _this.dialog.el.unmask();
71 _this.callback.call(_this, _this.form.getValues());
76 rendered : function (_self)
82 style : 'margin: 5px',
83 url : baseURL + '/Roo/Builder_app.php',
94 fieldLabel : 'Module',
101 fieldLabel : 'Webdav URL',
109 fieldLabel : 'Write to WebDav',
110 allowDecimals : false,
111 boxLabel : 'Check to enable PUT to Dav after save',
118 fieldLabel : 'Git Path',
127 xtype: 'LayoutRegion',
137 click : function (_self, e)
149 click : function (_self, e)
151 _this.dialog.el.mask("Saving");
152 _this.form.doAction('submit');