diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-09 16:37:59 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-09 16:37:59 +0500 |
commit | b8ee37b82077d9883e006ed9afcce1b9f2e6cd55 (patch) | |
tree | 190d5965d8ba7fe362b92b3696c934444722b0b6 /web/app/view | |
parent | 226dcdde755ad2b2b7384ac9cd59e5fcc3af550b (diff) | |
download | trackermap-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.js | 4 |
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) { |