aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-10-06 12:53:13 +0500
committerAbyss777 <abyss@fox5.ru>2017-10-06 12:53:13 +0500
commit45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 (patch)
treedb5c251dc1e219a936b2e7f255068edb5d43db5a /web/app/view/ReportController.js
parentdf9b799cbfd51c24158bb16ca5b37105a390a5d3 (diff)
downloadtrackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.gz
trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.bz2
trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.zip
Hide date selectors for predefined periods
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r--web/app/view/ReportController.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 6d984de7..80e56ba4 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -128,6 +128,9 @@ Ext.define('Traccar.view.ReportController', {
if (this.toTime !== undefined) {
dialog.lookupReference('toTimeField').setValue(this.toTime);
}
+ if (this.period !== undefined) {
+ dialog.lookupReference('periodField').setValue(this.period);
+ }
dialog.show();
},