aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/DeviceController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-05 17:34:00 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-05 17:34:00 +1200
commit3ad4dfdb80a5fb09283cbbad77c55a857419c62f (patch)
tree5d3e067374a8ff692e99256b1127d567c6d80945 /web/app/view/device/DeviceController.js
parent141830fd58ee8bff47aac5ebd8e05b6cf4d2d151 (diff)
downloadtrackermap-server-3ad4dfdb80a5fb09283cbbad77c55a857419c62f.tar.gz
trackermap-server-3ad4dfdb80a5fb09283cbbad77c55a857419c62f.tar.bz2
trackermap-server-3ad4dfdb80a5fb09283cbbad77c55a857419c62f.zip
Hide admin settings options
Diffstat (limited to 'web/app/view/device/DeviceController.js')
-rw-r--r--web/app/view/device/DeviceController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/device/DeviceController.js
index 5a0ea85df..31caa5147 100644
--- a/web/app/view/device/DeviceController.js
+++ b/web/app/view/device/DeviceController.js
@@ -38,8 +38,8 @@ Ext.define('Traccar.view.device.DeviceController', {
init: function() {
if (Traccar.getApplication().getUser().get('admin')) {
- this.lookupReference('settingsServerButton').setDisabled(false);
- this.lookupReference('settingsUsersButton').setDisabled(false);
+ this.lookupReference('settingsServerButton').setHidden(false);
+ this.lookupReference('settingsUsersButton').setHidden(false);
}
},