aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/SettingsMenuController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 20:34:11 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 20:34:11 +1300
commit1750a8b5353a69f3b1805757f3b31150260d45f8 (patch)
treeaece720d11cf97f3eb199b5715fddc2ce7dbe8c8 /web/app/view/SettingsMenuController.js
parentb4b075facd4bf11bc7564b75a60891325749e42e (diff)
downloadtrackermap-server-1750a8b5353a69f3b1805757f3b31150260d45f8.tar.gz
trackermap-server-1750a8b5353a69f3b1805757f3b31150260d45f8.tar.bz2
trackermap-server-1750a8b5353a69f3b1805757f3b31150260d45f8.zip
Add groups list window component
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r--web/app/view/SettingsMenuController.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index c52f0a75e..6d767e3a9 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -23,6 +23,7 @@ Ext.define('Traccar.view.SettingsMenuController', {
'Traccar.view.UserDialog',
'Traccar.view.ServerDialog',
'Traccar.view.Users',
+ 'Traccar.view.Groups',
'Traccar.view.BaseWindow'
],
@@ -39,6 +40,16 @@ Ext.define('Traccar.view.SettingsMenuController', {
dialog.show();
},
+ onGroupsClick: function () {
+ Ext.create('Traccar.view.BaseWindow', {
+ title: Strings.settingsGroups,
+ modal: false,
+ items: {
+ xtype: 'groupsView'
+ }
+ }).show();
+ },
+
onServerClick: function () {
var dialog = Ext.create('Traccar.view.ServerDialog');
dialog.down('form').loadRecord(Traccar.app.getServer());