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.AdminEnumType = {
10 '7dce122004969d56ae2e0245cb754d35' :"Edit",
11 'b48968e1c912da07df5e8d6d246291ec' :"Display Name",
12 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
13 '49ee3087348e8d44e1feda1917443987' :"Name",
14 'c9cc8cce247e49bae79f15173ce97354' :"Save"
17 'display_name_fieldLabel' : 'b48968e1c912da07df5e8d6d246291ec' /* Display Name */ ,
18 'name_fieldLabel' : '49ee3087348e8d44e1feda1917443987' /* Name */
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',
49 title : _this._strings['7dce122004969d56ae2e0245cb754d35'] /* Edit */,
55 xtype : 'LayoutRegion',
62 text : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
64 click : function (_self, e)
66 //this.url = baseURL + '/Roo/Core_enum.php';
67 //_this.dialog.el.mask("Saving");
68 _this.form.doAction("submit");
76 text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
78 click : function (_self, e)
89 xtype : 'ContentPanel',
96 url : baseURL + '/Roo/Core_enum',
98 actioncomplete : function (_self, action)
100 if(action.type == 'submit'){
104 _this.callback.call(_this, _this.form.getValues());
109 rendered : function (form)
120 fieldLabel : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
140 fieldLabel : _this._strings['b48968e1c912da07df5e8d6d246291ec'] /* Display Name */,
141 name : 'display_name',