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.PersonEditor= function() {}
8 Roo.apply(Pman.Dialog.PersonEditor.prototype, {
11 'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
12 'abb1d799e06329cb0c38276ea918300b' :"Secure passwords",
13 'bcc254b55c4a1babdf1dcb82c207506b' :"Phone",
14 'dc647eb65e6711e155375218212b3964' :"Password",
15 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
16 'bbbabdbe1b262f75d99d62880b953be1' :"Role",
17 '11dcfc58d8c9aed80d13d85369b854db' :"Person Editor",
18 '49ee3087348e8d44e1feda1917443987' :"Name",
19 '1f9a645ca5ecbde5f93612791b54218f' :"Password (Retype)",
20 'c9cc8cce247e49bae79f15173ce97354' :"Save",
21 '9810aa2b9f44401be4bf73188ef2b67d' :"Fax"
27 show : function(data, cb)
35 this.dialog.show(this.data._el);
38 this.form.setValues(data);
39 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
47 this.dialog = Roo.factory({
49 title : _this._strings['11dcfc58d8c9aed80d13d85369b854db'] /* Person Editor */,
51 render : function (_self)
57 '|xns' : 'Roo.bootstrap',
61 html : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
62 style : 'float: right; margin: 10px; width: 70px;',
65 click : function (_self, e)
71 '|xns' : 'Roo.bootstrap'
75 html : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
76 style : 'float: right; margin: 10px; width: 70px;',
79 '|xns' : 'Roo.bootstrap'
86 render : function (_self)
92 '|xns' : 'Roo.bootstrap',
98 '|xns' : 'Roo.bootstrap',
104 '|xns' : 'Roo.bootstrap',
108 fieldLabel : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
112 render : function (_self)
114 _this.userNmae = self;
118 '|xns' : 'Roo.bootstrap'
122 fieldLabel : _this._strings['bbbabdbe1b262f75d99d62880b953be1'] /* Role */,
126 render : function (_self)
132 '|xns' : 'Roo.bootstrap'
136 fieldLabel : _this._strings['bcc254b55c4a1babdf1dcb82c207506b'] /* Phone */,
140 render : function (_self)
146 '|xns' : 'Roo.bootstrap'
150 fieldLabel : _this._strings['9810aa2b9f44401be4bf73188ef2b67d'] /* Fax */,
154 render : function (_self)
160 '|xns' : 'Roo.bootstrap'
164 fieldLabel : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
168 render : function (_self)
174 '|xns' : 'Roo.bootstrap'
178 fieldLabel : _this._strings['dc647eb65e6711e155375218212b3964'] /* Password */,
179 inputType : 'password',
183 '|xns' : 'Roo.bootstrap'
187 fieldLabel : _this._strings['1f9a645ca5ecbde5f93612791b54218f'] /* Password (Retype) */,
188 inputType : 'password',
192 '|xns' : 'Roo.bootstrap'
202 '|xns' : 'Roo.bootstrap',
208 '|xns' : 'Roo.bootstrap',
214 fieldLabel : _this._strings['abb1d799e06329cb0c38276ea918300b'] /* Secure passwords */,
215 inputType : 'checkbox',
217 listeners : '{\n check : function (_self, checked) {\n this.form.findField(\'passwd1\').insecure = false;\n\n if(!checked){\n this.form.findField(\'passwd1\').insecure = true;\n }\n }\n }\n',
218 name : 'secure_password',
220 '|xns' : 'Roo.bootstrap'
231 '|xns' : 'Roo.bootstrap',
236 '|xns' : 'Roo.bootstrap'
244 Roo.apply(Pman.Dialog.PersonEditor, Pman.Dialog.PersonEditor.prototype);