From d1182973f4a029aafdafb7331cc1ea4e264706e6 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 16 Nov 2016 17:46:07 +0500 Subject: Move follow button to Map --- web/app/view/DevicesController.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'web/app/view/DevicesController.js') 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); -- cgit v1.2.3