aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-30 14:31:21 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-30 14:31:21 +0500
commit72dd6fa3f04a12df346ef3996878092cde407681 (patch)
tree93f72a32f389c9629ce54cad69ef8d458abae215 /web/app/view/ReportController.js
parentbcaad78df62ea695757a37f97757b1a34e228ed5 (diff)
downloadtrackermap-server-72dd6fa3f04a12df346ef3996878092cde407681.tar.gz
trackermap-server-72dd6fa3f04a12df346ef3996878092cde407681.tar.bz2
trackermap-server-72dd6fa3f04a12df346ef3996878092cde407681.zip
Used static variable and move creation allEvents item from config to ReportConfigController.init()
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r--web/app/view/ReportController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 4cc42456c..a4a5c6227 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -43,7 +43,7 @@ Ext.define('Traccar.view.ReportController', {
if (this.eventType !== undefined) {
dialog.lookupReference('eventTypeField').setValue(this.eventType);
} else {
- dialog.lookupReference('eventTypeField').setValue([Ext.getStore('ReportEventTypes').allEvents]);
+ dialog.lookupReference('eventTypeField').setValue([Traccar.store.ReportEventTypes.allEvents]);
}
if (this.fromDate !== undefined) {
dialog.lookupReference('fromDateField').setValue(this.fromDate);