From 55a2a72f1260e4a1ca394c31498762d2fb32ec1c Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 7 Oct 2016 13:52:58 +0500 Subject: Rename variable --- web/app/view/ReportController.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'web/app') 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); } }, -- cgit v1.2.3