diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-07 06:07:18 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-07 06:07:18 +1300 |
commit | 33783a40ebe4af278bf4f9fa6ca7fa75452c1304 (patch) | |
tree | 27b803a30aaf27165e84a236e36f6e91db51d000 /web/app/view/ReportController.js | |
parent | 941d09ba9d24fedeab268e9d109d5be9e8008282 (diff) | |
download | trackermap-web-33783a40ebe4af278bf4f9fa6ca7fa75452c1304.tar.gz trackermap-web-33783a40ebe4af278bf4f9fa6ca7fa75452c1304.tar.bz2 trackermap-web-33783a40ebe4af278bf4f9fa6ca7fa75452c1304.zip |
Add reports to the mobile view
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r-- | web/app/view/ReportController.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index 6076b47c..67fcf121 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -41,6 +41,10 @@ Ext.define('Traccar.view.ReportController', { } }, + hideReports: function() { + Traccar.app.showReports(false); + }, + onConfigureClick: function () { var dialog = Ext.create('Traccar.view.ReportConfigDialog'); dialog.lookupReference('eventTypeField').setHidden(this.lookupReference('reportTypeField').getValue() !== 'events'); |