isAdd: true,
- initComponent : function() {
+ initComponent: function() {
var me = this;
me.isCreate = !me.userid;
verifypw.setVisible(false);
verifypw.setDisabled(true);
}
-
};
var column1 = [
matchFieldWidth: false,
listConfig: { width: 300 },
listeners: {
- change: function(combo, newValue){
+ change: function(combo, newValue) {
realm = newValue;
update_passwd_field(realm);
},
fieldDefaults: {
labelWidth: 110, // for spanish translation
},
- items: [ ipanel ],
+ items: [ipanel],
});
me.callParent();
var data = response.result.data;
me.setValues(data);
if (data.keys) {
- if ( data.keys === 'x!oath' || data.keys === 'x!u2f' ) {
+ if (data.keys === 'x!oath' || data.keys === 'x!u2f') {
me.down('[name="keys"]').setDisabled(1);
}
}