aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/SettingsMenuController.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/SettingsMenuController.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/SettingsMenuController.js')
-rw-r--r--web/app/view/SettingsMenuController.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 41867f61..8d1e5634 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -61,7 +61,9 @@ Ext.define('Traccar.view.SettingsMenuController', {
},
onUserClick: function () {
- var dialog = Ext.create('Traccar.view.UserDialog');
+ var dialog = Ext.create('Traccar.view.UserDialog', {
+ selfEdit: true
+ });
dialog.down('form').loadRecord(Traccar.app.getUser());
dialog.lookupReference('testNotificationButton').setHidden(false);
dialog.show();