aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-27 10:05:33 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-27 10:05:33 +0500
commit1602c0f76cfbc273239280b65dc528e231350908 (patch)
tree7e4411cc8cfed14bb376fe1e1155fe395f0e3199 /web/app/view/ReportController.js
parentc4e1f652ca5ad459c2d29e1e3c92dc251c5adcb8 (diff)
downloadetbsa-traccar-web-1602c0f76cfbc273239280b65dc528e231350908.tar.gz
etbsa-traccar-web-1602c0f76cfbc273239280b65dc528e231350908.tar.bz2
etbsa-traccar-web-1602c0f76cfbc273239280b65dc528e231350908.zip
Fix deselecting
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 9decb65..c02964e 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(),