aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-11 10:53:33 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-11 10:53:33 +0500
commitf8e90b20d08bbd00cd7d5657c91c364b47288ae6 (patch)
treeacb2473f07a7cb02f5f7d8cdcd3f06cc2f6abce6 /web/app/view/UserDialog.js
parent2eeb2a1bdc6a11a115a6774a49a21d88abb63056 (diff)
downloadtrackermap-web-f8e90b20d08bbd00cd7d5657c91c364b47288ae6.tar.gz
trackermap-web-f8e90b20d08bbd00cd7d5657c91c364b47288ae6.tar.bz2
trackermap-web-f8e90b20d08bbd00cd7d5657c91c364b47288ae6.zip
- Pass selfEdit parameter to UserDialog
- Group Geofence fields
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 5e4e00a8..d4235e9e 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'