aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-16 11:54:48 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-16 11:54:48 +1200
commit24ef58447149502dd3fff68d0c9920115a25df31 (patch)
treec7b1f2760da275ab57f5cac8e5d96330b3422034 /web/app/view/DevicesController.js
parentef25655365eb97d29295f8e0cb720b86a29c5e26 (diff)
downloadtrackermap-server-24ef58447149502dd3fff68d0c9920115a25df31.tar.gz
trackermap-server-24ef58447149502dd3fff68d0c9920115a25df31.tar.bz2
trackermap-server-24ef58447149502dd3fff68d0c9920115a25df31.zip
Remove grouping from device list
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r--web/app/view/DevicesController.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js
index 1d4e3212f..e9a075ffc 100644
--- a/web/app/view/DevicesController.js
+++ b/web/app/view/DevicesController.js
@@ -30,22 +30,10 @@ Ext.define('Traccar.view.DevicesController', {
selectDevice: 'selectDevice',
selectReport: 'selectReport'
}
- },
- store: {
- '#Groups': {
- update: 'reloadList'
- },
- '#Devices': {
- add: 'reloadList'
- }
}
}
},
- reloadList: function() {
- Ext.getStore('Devices').reload();
- },
-
init: function () {
var readonly = Traccar.app.getServer().get('readonly') && !Traccar.app.getUser().get('admin');
this.lookupReference('toolbarAddButton').setVisible(!readonly);