aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorEvgeny S Maksimov <me@vragam.net>2019-02-27 21:32:56 +0300
committerEvgeny S Maksimov <me@vragam.net>2019-02-27 21:32:56 +0300
commit6dd4cb71561be3d41da3d10b810fb078f10e79b3 (patch)
tree9edb97a56389614132a645b03220ecdc8b5fa6b4 /web/app
parent0c17a3d2a9aad83456b0557cf1b87eaf4ffbb675 (diff)
downloadtrackermap-web-6dd4cb71561be3d41da3d10b810fb078f10e79b3.tar.gz
trackermap-web-6dd4cb71561be3d41da3d10b810fb078f10e79b3.tar.bz2
trackermap-web-6dd4cb71561be3d41da3d10b810fb078f10e79b3.zip
Code-style fix
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/edit/DevicesController.js8
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);
}
},