diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-29 09:58:40 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 09:58:40 +1300 |
commit | f78c547cdda0180a16bf76ddd7395d57dfc49016 (patch) | |
tree | e224b0867554d64ba7c2a985c1ceaab529a075d1 /web/app/view/ReportController.js | |
parent | 94973f80f543f82630351a7e5943dd4c9150a8b0 (diff) | |
parent | 6f0bcddcac9a2ec711f545f1278a4ec991d05aa6 (diff) | |
download | etbsa-traccar-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.tar.gz etbsa-traccar-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.tar.bz2 etbsa-traccar-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.zip |
Merge pull request #454 from Abyss777/move_dialog
Move BaseDialog, subclasses and their controllers to dialog subfolder
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r-- | web/app/view/ReportController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index c02964e..e8955a8 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -24,7 +24,7 @@ Ext.define('Traccar.view.ReportController', { 'Traccar.AttributeFormatter', 'Traccar.model.Position', 'Traccar.model.ReportTrip', - 'Traccar.view.ReportConfigDialog', + 'Traccar.view.dialog.ReportConfig', 'Traccar.store.ReportEventTypes' ], @@ -65,7 +65,7 @@ Ext.define('Traccar.view.ReportController', { }, onConfigureClick: function () { - var dialog = Ext.create('Traccar.view.ReportConfigDialog'); + var dialog = Ext.create('Traccar.view.dialog.ReportConfig'); dialog.lookupReference('eventTypeField').setHidden(this.lookupReference('reportTypeField').getValue() !== 'events'); dialog.lookupReference('chartTypeField').setHidden(this.lookupReference('reportTypeField').getValue() !== 'chart'); dialog.callingPanel = this; |