diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-20 19:15:20 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-20 19:15:20 +1200 |
commit | 412bb3fe1c9fe9301c18c5c849e1432b58647055 (patch) | |
tree | fc0619dcb5f5d694089726587f807e470a304ab3 /web/app/view | |
parent | e9b61549ee85644facd20ebb0ec673d641b23a1d (diff) | |
download | traccar-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.js | 3 |
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(); } }); |