aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r--web/app/view/ReportController.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 9decb652..c02964e7 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -110,8 +110,9 @@ Ext.define('Traccar.view.ReportController', {
onReportClick: function (button) {
var reportType, from, to, store, url;
- reportType = this.lookupReference('reportTypeField').getValue();
+ this.getGrid().getSelectionModel().deselectAll();
+ reportType = this.lookupReference('reportTypeField').getValue();
if (reportType && (this.deviceId || this.groupId)) {
from = new Date(
this.fromDate.getFullYear(), this.fromDate.getMonth(), this.fromDate.getDate(),