diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/Login.js | 2 | ||||
-rw-r--r-- | web/app/view/ServerDialog.js | 8 | ||||
-rw-r--r-- | web/app/view/UserDialog.js | 8 |
3 files changed, 18 insertions, 0 deletions
diff --git a/web/app/view/Login.js b/web/app/view/Login.js index d6f482f..5d0da0f 100644 --- a/web/app/view/Login.js +++ b/web/app/view/Login.js @@ -89,6 +89,8 @@ Ext.define('Traccar.view.Login', { inputAttrTpl: ['autocomplete="on"'] }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, reference: 'rememberField', fieldLabel: Strings.userRemember }, { diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js index 0f96588..0a05876 100644 --- a/web/app/view/ServerDialog.js +++ b/web/app/view/ServerDialog.js @@ -29,11 +29,15 @@ Ext.define('Traccar.view.ServerDialog', { xtype: 'form', items: [{ xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'registration', fieldLabel: Strings.serverRegistration, allowBlank: false }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'readonly', fieldLabel: Strings.serverReadonly, allowBlank: false @@ -88,11 +92,15 @@ Ext.define('Traccar.view.ServerDialog', { fieldLabel: Strings.serverZoom }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'twelveHourFormat', fieldLabel: Strings.settingsTwelveHourFormat, allowBlank: false }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'forceSettings', fieldLabel: Strings.serverForceSettings, allowBlank: false diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index dfe1a7c..8ee1243 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -44,6 +44,8 @@ Ext.define('Traccar.view.UserDialog', { allowBlank: false }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'readonly', fieldLabel: Strings.serverReadonly, allowBlank: false, @@ -51,6 +53,8 @@ Ext.define('Traccar.view.UserDialog', { reference: 'readonlyField' }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'admin', fieldLabel: Strings.userAdmin, allowBlank: false, @@ -99,6 +103,8 @@ Ext.define('Traccar.view.UserDialog', { fieldLabel: Strings.serverZoom }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'twelveHourFormat', fieldLabel: Strings.settingsTwelveHourFormat, allowBlank: false @@ -112,6 +118,8 @@ Ext.define('Traccar.view.UserDialog', { editable: false }, { xtype: 'checkboxfield', + inputValue: true, + uncheckedValue: false, name: 'disabled', fieldLabel: Strings.userDisabled, hidden: true, |