diff options
author | Abyss777 <abyss@fox5.ru> | 2017-10-06 12:53:13 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-10-06 12:53:13 +0500 |
commit | 45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 (patch) | |
tree | db5c251dc1e219a936b2e7f255068edb5d43db5a /web/app/view/ReportController.js | |
parent | df9b799cbfd51c24158bb16ca5b37105a390a5d3 (diff) | |
download | trackermap-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.js | 3 |
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(); }, |