aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 52ec933c..8ee12437 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,
@@ -155,6 +163,14 @@ Ext.define('Traccar.view.UserDialog', {
tooltip: Strings.sharedGetMapState,
tooltipType: 'title'
}, {
+ glyph: 'xf003@FontAwesome',
+ minWidth: 0,
+ handler: 'testMail',
+ hidden: true,
+ reference: 'testMailButton',
+ tooltip: Strings.sharedTestMail,
+ tooltipType: 'title'
+ }, {
xtype: 'tbfill'
}, {
glyph: 'xf00c@FontAwesome',