diff options
Diffstat (limited to 'web/app/view')
-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 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); } }, |