1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('Pman.Dialog');
7 Pman.Dialog.CoreColumnConfig = {
10 'cfcd208495d565ef66e7dff9f98764da' :"0",
11 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
12 'c40cab5f875bb6c270d800eff77a4af0' :"Save Column Configuration",
13 'b5a7adde1af5c87d7fd797b6245c2a39' :"Description",
14 'c9cc8cce247e49bae79f15173ce97354' :"Save"
17 'description_fieldLabel' : 'b5a7adde1af5c87d7fd797b6245c2a39' /* Description */ ,
18 'name_value' : 'cfcd208495d565ef66e7dff9f98764da' /* 0 */
24 show : function(data, cb)
32 this.dialog.show(this.data._el);
35 this.form.setValues(data);
36 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
44 this.dialog = Roo.factory({
45 xtype : 'LayoutDialog',
52 title : _this._strings['c40cab5f875bb6c270d800eff77a4af0'] /* Save Column Configuration */,
55 show : function (_self)
63 xtype : 'LayoutRegion',
71 text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
83 text : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
88 _this.form.doAction('submit');
98 xtype : 'ContentPanel',
108 style : 'padding:5px',
109 url : baseURL + '/Roo/core_setting',
111 actioncomplete : function (_self, action)
113 if (action.type == 'setdata') {
117 if(typeof(_this.data.title) != 'undefined' && _this.data.title.length){
118 _this.dialog.setTitle(_this.data.title);
122 _this.dialog.el.mask("Loading");
123 this.load({ method: 'GET', params: { '_id' : _this.data.id }});
128 if (action.type == 'load') {
129 _this.dialog.el.unmask();
132 if (action.type == 'submit' ) {
133 _this.dialog.el.unmask();
136 if (_this.callback) {
137 _this.callback.call(_this, action.result.data);
142 rendered : function (form)
153 fieldLabel : _this._strings['b5a7adde1af5c87d7fd797b6245c2a39'] /* Description */,
154 name : 'description',