diff options
author | Evgeny S Maksimov <me@vragam.net> | 2019-02-27 21:32:56 +0300 |
---|---|---|
committer | Evgeny S Maksimov <me@vragam.net> | 2019-02-27 21:32:56 +0300 |
commit | 6dd4cb71561be3d41da3d10b810fb078f10e79b3 (patch) | |
tree | 9edb97a56389614132a645b03220ecdc8b5fa6b4 | |
parent | 0c17a3d2a9aad83456b0557cf1b87eaf4ffbb675 (diff) | |
download | trackermap-web-6dd4cb71561be3d41da3d10b810fb078f10e79b3.tar.gz trackermap-web-6dd4cb71561be3d41da3d10b810fb078f10e79b3.tar.bz2 trackermap-web-6dd4cb71561be3d41da3d10b810fb078f10e79b3.zip |
Code-style fix
-rw-r--r-- | web/app/view/edit/DevicesController.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/edit/DevicesController.js b/web/app/view/edit/DevicesController.js index f4e46153..16e54b21 100644 --- a/web/app/view/edit/DevicesController.js +++ b/web/app/view/edit/DevicesController.js @@ -110,10 +110,10 @@ Ext.define('Traccar.view.edit.DevicesController', { this.lookupReference('deviceCommandButton').setDisabled(empty || readonly); }, - onSelectionChange: function (el, record) { - if (record && record.length) { - this.updateButtons(record); - this.fireEvent('selectdevice', record[0], true); + onSelectionChange: function (el, records) { + if (records && records.length) { + this.updateButtons(records); + this.fireEvent('selectdevice', records[0], true); } }, |