]>
git.proxmox.com Git - proxmox-widget-toolkit.git/blob - window/PasswordEdit.js
246c78610c878101593a64fb4d6e3de15ebd193e
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'),
21 change: function(field
){
22 field
.next().validate();
24 blur: function(field
){
25 field
.next().validate();
31 inputType
: 'password',
32 fieldLabel
: gettext('Confirm password'),
33 name
: 'verifypassword',
35 initialPassField
: 'password',
44 initComponent : function() {
48 throw "no userid specified";
52 me
.down('[name=userid]').setValue(me
.userid
);