diff options
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r-- | web/app/view/UserDialog.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 5e4e00a..d4235e9 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -123,7 +123,7 @@ Ext.define('Traccar.view.UserDialog', { uncheckedValue: false, name: 'disabled', fieldLabel: Strings.userDisabled, - hidden: true, + disabled: true, reference: 'disabledField' }, { xtype: 'checkboxfield', @@ -131,8 +131,7 @@ Ext.define('Traccar.view.UserDialog', { uncheckedValue: false, name: 'admin', fieldLabel: Strings.userAdmin, - allowBlank: false, - hidden: true, + disabled: true, reference: 'adminField' }, { xtype: 'checkboxfield', @@ -140,8 +139,7 @@ Ext.define('Traccar.view.UserDialog', { uncheckedValue: false, name: 'readonly', fieldLabel: Strings.serverReadonly, - allowBlank: false, - hidden: true, + disabled: true, reference: 'readonlyField' }, { xtype: 'checkboxfield', @@ -186,10 +184,6 @@ Ext.define('Traccar.view.UserDialog', { }] }, - listeners: { - show: 'onShow' - }, - buttons: [{ text: Strings.sharedAttributes, handler: 'showAttributesView' |