]>
git.proxmox.com Git - proxmox-widget-toolkit.git/blob - window/PasswordEdit.js
1 Ext
.define('Proxmox.window.PasswordEdit', {
2 extend
: 'Proxmox.window.Edit',
3 alias
: 'proxmoxWindowPasswordEdit',
5 subject
: gettext('Password'),
7 url
: '/api2/extjs/access/password',
16 inputType
: 'password',
17 fieldLabel
: gettext('Password'),
22 change: function(field
){
23 field
.next().validate();
25 blur: function(field
){
26 field
.next().validate();
32 inputType
: 'password',
33 fieldLabel
: gettext('Confirm password'),
34 name
: 'verifypassword',
37 initialPassField
: 'password',
46 initComponent : function() {
50 throw "no userid specified";
54 me
.down('[name=userid]').setValue(me
.userid
);