aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/SettingsMenuController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-20 15:20:41 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-20 15:20:41 +0500
commitc16972a1f574189b9b21fc237336440cdba10f0d (patch)
tree33158a0fca300aac5013e23a7fce89eb3998e8d4 /web/app/view/SettingsMenuController.js
parentadf79e9bc86bc485ea3fa02c4d25b11d8fffee1f (diff)
downloadtrackermap-web-c16972a1f574189b9b21fc237336440cdba10f0d.tar.gz
trackermap-web-c16972a1f574189b9b21fc237336440cdba10f0d.tar.bz2
trackermap-web-c16972a1f574189b9b21fc237336440cdba10f0d.zip
Move Device Distance to Device Menu
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r--web/app/view/SettingsMenuController.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 2ebb8589..e8893e3f 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -45,7 +45,6 @@ Ext.define('Traccar.view.SettingsMenuController', {
if (admin) {
this.lookupReference('settingsServerButton').setHidden(false);
this.lookupReference('settingsStatisticsButton').setHidden(false);
- this.lookupReference('settingsDeviceDistanceButton').setHidden(Traccar.app.getVehicleFeaturesDisabled());
}
if (admin || manager) {
this.lookupReference('settingsUsersButton').setHidden(false);
@@ -136,11 +135,6 @@ Ext.define('Traccar.view.SettingsMenuController', {
}).show();
},
- onDeviceDistanceClick: function () {
- var dialog = Ext.create('Traccar.view.dialog.DeviceDistance');
- dialog.show();
- },
-
onCalendarsClick: function () {
Ext.create('Traccar.view.BaseWindow', {
title: Strings.sharedCalendars,