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 '8a25a3ae30ab6e8ceb5b8c4009a3336f' :"Role / Position",
15 '5067d67ab0b0ab1e1099d1de30eccd82' :"Contac Name",
16 '315fce99b77b7f392bf68d5eb14f88c7' :"Password (type again to confirm)",
17 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
18 'ae3bb2a1ac61750150b606298091d38a' :"New Password",
19 '11dcfc58d8c9aed80d13d85369b854db' :"Person Editor",
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['5067d67ab0b0ab1e1099d1de30eccd82'] /* Contac Name */,
111 render : function (_self)
113 _this.userNmae = self;
117 '|xns' : 'Roo.bootstrap'
121 fieldLabel : _this._strings['8a25a3ae30ab6e8ceb5b8c4009a3336f'] /* Role / Position */,
124 render : function (_self)
130 '|xns' : 'Roo.bootstrap'
134 fieldLabel : _this._strings['bcc254b55c4a1babdf1dcb82c207506b'] /* Phone */,
137 render : function (_self)
143 '|xns' : 'Roo.bootstrap'
147 fieldLabel : _this._strings['9810aa2b9f44401be4bf73188ef2b67d'] /* Fax */,
150 render : function (_self)
156 '|xns' : 'Roo.bootstrap'
160 fieldLabel : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
163 render : function (_self)
169 '|xns' : 'Roo.bootstrap'
173 fieldLabel : _this._strings['ae3bb2a1ac61750150b606298091d38a'] /* New Password */,
174 inputType : 'password',
177 '|xns' : 'Roo.bootstrap'
181 fieldLabel : _this._strings['315fce99b77b7f392bf68d5eb14f88c7'] /* Password (type again to confirm) */,
182 inputType : 'password',
185 '|xns' : 'Roo.bootstrap'
190 fieldLabel : _this._strings['abb1d799e06329cb0c38276ea918300b'] /* Secure passwords */,
191 inputType : 'checkbox',
193 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',
194 name : 'secure_password',
196 '|xns' : 'Roo.bootstrap'
208 Roo.apply(Pman.Dialog.PersonEditor, Pman.Dialog.PersonEditor.prototype);