aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-07 00:11:10 +0900
committerGitHub <noreply@github.com>2017-10-07 00:11:10 +0900
commit24b1b63fb2af68cd23362965e947f4dbf76d087e (patch)
tree5c743e2772e3e5ade02e4c89d691bd4e69e3f59b /web/app/view/ReportController.js
parenteb23cc04e645ee72cdf833b712476f07231ea098 (diff)
parent8e4efa28702b6386dcfd20ba98fe8fa42b9682ed (diff)
downloadtrackermap-web-24b1b63fb2af68cd23362965e947f4dbf76d087e.tar.gz
trackermap-web-24b1b63fb2af68cd23362965e947f4dbf76d087e.tar.bz2
trackermap-web-24b1b63fb2af68cd23362965e947f4dbf76d087e.zip
Merge pull request #599 from Abyss777/quick_period
Add quick period selector to Report Config dialog
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();
},