diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-17 10:33:57 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 10:33:57 +1300 |
commit | 469869d4c01cd5385acee0c84faa226775454e79 (patch) | |
tree | aa1e07fd469c4e2759156f52bc048315959ff755 /web/app/view/DevicesController.js | |
parent | 5418af40f15876c5c48ffdeec7797f171ae36018 (diff) | |
parent | d1182973f4a029aafdafb7331cc1ea4e264706e6 (diff) | |
download | trackermap-web-469869d4c01cd5385acee0c84faa226775454e79.tar.gz trackermap-web-469869d4c01cd5385acee0c84faa226775454e79.tar.bz2 trackermap-web-469869d4c01cd5385acee0c84faa226775454e79.zip |
Merge pull request #321 from Abyss777/move_follow
Move Follow button to Map toolbar
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r-- | web/app/view/DevicesController.js | 10 |
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); |