aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportConfigController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-30 22:31:24 +1300
committerGitHub <noreply@github.com>2016-12-30 22:31:24 +1300
commit37001649c81ab0d9eb31b517fc0def473440fb21 (patch)
tree63cbceb8bc3e4eaf783f53342a6d7cc0c9c3fcb7 /web/app/view/ReportConfigController.js
parentf5030b90ecde5a50e05cd81ed8d08b6387b8dead (diff)
parentc142bc62a8f004630efac97cf15eb9ba604c3981 (diff)
downloadetbsa-traccar-web-37001649c81ab0d9eb31b517fc0def473440fb21.tar.gz
etbsa-traccar-web-37001649c81ab0d9eb31b517fc0def473440fb21.tar.bz2
etbsa-traccar-web-37001649c81ab0d9eb31b517fc0def473440fb21.zip
Merge pull request #378 from Abyss777/not_show_markers
Add an option to not show report markers
Diffstat (limited to 'web/app/view/ReportConfigController.js')
-rw-r--r--web/app/view/ReportConfigController.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/ReportConfigController.js b/web/app/view/ReportConfigController.js
index f76a082..955b2e9 100644
--- a/web/app/view/ReportConfigController.js
+++ b/web/app/view/ReportConfigController.js
@@ -57,8 +57,9 @@ Ext.define('Traccar.view.ReportConfigController', {
} else if (eventType.length === this.lookupReference('eventTypeField').getStore().getCount() - 1) {
eventType = [Traccar.store.ReportEventTypes.allEvents];
}
- this.getView().callingPanel.chartType = this.lookupReference('chartTypeField').getValue();
this.getView().callingPanel.eventType = eventType;
+ this.getView().callingPanel.chartType = this.lookupReference('chartTypeField').getValue();
+ this.getView().callingPanel.showMarkers = this.lookupReference('showMarkersField').getValue();
this.getView().callingPanel.fromDate = this.lookupReference('fromDateField').getValue();
this.getView().callingPanel.fromTime = this.lookupReference('fromTimeField').getValue();
this.getView().callingPanel.toDate = this.lookupReference('toDateField').getValue();