aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-20 19:15:20 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-20 19:15:20 +1200
commit412bb3fe1c9fe9301c18c5c849e1432b58647055 (patch)
treefc0619dcb5f5d694089726587f807e470a304ab3 /web/app/view
parente9b61549ee85644facd20ebb0ec673d641b23a1d (diff)
downloadtraccar-server-412bb3fe1c9fe9301c18c5c849e1432b58647055.tar.gz
traccar-server-412bb3fe1c9fe9301c18c5c849e1432b58647055.tar.bz2
traccar-server-412bb3fe1c9fe9301c18c5c849e1432b58647055.zip
Implement report clearing
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/report/ReportController.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/report/ReportController.js b/web/app/view/report/ReportController.js
index 5c6578681..81da6fb83 100644
--- a/web/app/view/report/ReportController.js
+++ b/web/app/view/report/ReportController.js
@@ -19,8 +19,8 @@ Ext.define('Traccar.view.report.ReportController', {
alias: 'controller.report',
onShowClick: function() {
-
var deviceId = this.lookupReference('deviceField').getValue();
+
var fromDate = this.lookupReference('fromDateField').getValue();
var fromTime = this.lookupReference('fromTimeField').getValue();
@@ -46,6 +46,7 @@ Ext.define('Traccar.view.report.ReportController', {
},
onClearClick: function() {
+ Ext.getStore('Positions').removeAll();
}
});