aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-09 16:37:59 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-09 16:37:59 +0500
commitb8ee37b82077d9883e006ed9afcce1b9f2e6cd55 (patch)
tree190d5965d8ba7fe362b92b3696c934444722b0b6 /web/app/view
parent226dcdde755ad2b2b7384ac9cd59e5fcc3af550b (diff)
downloadtrackermap-server-b8ee37b82077d9883e006ed9afcce1b9f2e6cd55.tar.gz
trackermap-server-b8ee37b82077d9883e006ed9afcce1b9f2e6cd55.tar.bz2
trackermap-server-b8ee37b82077d9883e006ed9afcce1b9f2e6cd55.zip
Select only positions
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ReportController.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 4236aadcb..7ff994202 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -90,7 +90,9 @@ Ext.define('Traccar.view.ReportController', {
},
selectReport: function (position, center) {
- this.getView().getSelectionModel().select([position], false, true);
+ if (position instanceof Traccar.model.Position) {
+ this.getView().getSelectionModel().select([position], false, true);
+ }
},
doDownloadCsv: function (requestUrl, requestParams) {