aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r--web/app/view/DevicesController.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js
index a31ceb77..f09950b3 100644
--- a/web/app/view/DevicesController.js
+++ b/web/app/view/DevicesController.js
@@ -120,16 +120,6 @@ Ext.define('Traccar.view.DevicesController', {
dialog.show();
},
- onFollowClick: function (button, pressed) {
- var device;
- if (pressed) {
- device = this.getView().getSelectionModel().getSelection()[0];
- if (device) {
- this.fireEvent('selectdevice', device, true);
- }
- }
- },
-
updateButtons: function (selected) {
var empty = selected.getCount() === 0;
this.lookupReference('toolbarEditButton').setDisabled(empty);