diff options
author | Abyss777 <abyss@fox5.ru> | 2016-10-07 13:52:58 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-10-07 13:52:58 +0500 |
commit | 55a2a72f1260e4a1ca394c31498762d2fb32ec1c (patch) | |
tree | 9bcb019563d7bf511e4186b46f8b11f810b68e41 | |
parent | e042dbc8f28faa005019744abf0d8c80340902bf (diff) | |
download | etbsa-traccar-web-55a2a72f1260e4a1ca394c31498762d2fb32ec1c.tar.gz etbsa-traccar-web-55a2a72f1260e4a1ca394c31498762d2fb32ec1c.tar.bz2 etbsa-traccar-web-55a2a72f1260e4a1ca394c31498762d2fb32ec1c.zip |
Rename variable
-rw-r--r-- | web/app/view/ReportController.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index fefa88a..ff5d32f 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -137,11 +137,11 @@ Ext.define('Traccar.view.ReportController', { } }, - selectReport: function (position, center) { - if (position instanceof Traccar.model.Position) { - this.getView().getSelectionModel().select([position], false, true); - } else if (position instanceof Traccar.model.ReportTrip) { - this.selectTrip(position); + selectReport: function (object, center) { + if (object instanceof Traccar.model.Position) { + this.getView().getSelectionModel().select([object], false, true); + } else if (object instanceof Traccar.model.ReportTrip) { + this.selectTrip(object); } }, |