aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-07 13:52:58 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-07 13:52:58 +0500
commit55a2a72f1260e4a1ca394c31498762d2fb32ec1c (patch)
tree9bcb019563d7bf511e4186b46f8b11f810b68e41 /web/app/view
parente042dbc8f28faa005019744abf0d8c80340902bf (diff)
downloadtrackermap-web-55a2a72f1260e4a1ca394c31498762d2fb32ec1c.tar.gz
trackermap-web-55a2a72f1260e4a1ca394c31498762d2fb32ec1c.tar.bz2
trackermap-web-55a2a72f1260e4a1ca394c31498762d2fb32ec1c.zip
Rename variable
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ReportController.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index fefa88a8..ff5d32f8 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);
}
},