diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-25 20:23:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-25 20:23:02 +1200 |
commit | 67f46c80d3b5e34440a2644f52b81dddfbaba5fa (patch) | |
tree | d56a9eba651669a7f3a61848af20d1c678449b6b /web/app/view/SettingsMenuController.js | |
parent | d7080b5f3f6cd69930b213f22316014ba841b73a (diff) | |
download | trackermap-server-67f46c80d3b5e34440a2644f52b81dddfbaba5fa.tar.gz trackermap-server-67f46c80d3b5e34440a2644f52b81dddfbaba5fa.tar.bz2 trackermap-server-67f46c80d3b5e34440a2644f52b81dddfbaba5fa.zip |
Add window and dialog for geofences
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r-- | web/app/view/SettingsMenuController.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index 6d767e3a9..48ae60aa5 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -24,6 +24,7 @@ Ext.define('Traccar.view.SettingsMenuController', { 'Traccar.view.ServerDialog', 'Traccar.view.Users', 'Traccar.view.Groups', + 'Traccar.view.Geofences', 'Traccar.view.BaseWindow' ], @@ -50,6 +51,16 @@ Ext.define('Traccar.view.SettingsMenuController', { }).show(); }, + onGeofencesClick: function () { + Ext.create('Traccar.view.BaseWindow', { + title: Strings.sharedGeofences, + modal: false, + items: { + xtype: 'geofencesView' + } + }).show(); + }, + onServerClick: function () { var dialog = Ext.create('Traccar.view.ServerDialog'); dialog.down('form').loadRecord(Traccar.app.getServer()); |