diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-01 16:56:44 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 16:56:44 +1300 |
commit | b36bb685ff31b06c7f50e660aebd3a69db5de5d7 (patch) | |
tree | d9c80566060b7f61cd6acc683dac8efd7f3109e8 /web/app/view/MainController.js | |
parent | 2fd7c0f03ec9a4a3734a0aba38d56f59fddc6e48 (diff) | |
parent | 48631f90b2e4718bf7c2ab8312424647b63f4925 (diff) | |
download | etbsa-traccar-web-b36bb685ff31b06c7f50e660aebd3a69db5de5d7.tar.gz etbsa-traccar-web-b36bb685ff31b06c7f50e660aebd3a69db5de5d7.tar.bz2 etbsa-traccar-web-b36bb685ff31b06c7f50e660aebd3a69db5de5d7.zip |
Merge pull request #615 from Abyss777/disable_events
Add attribute to hide Events panel
Diffstat (limited to 'web/app/view/MainController.js')
-rw-r--r-- | web/app/view/MainController.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/MainController.js b/web/app/view/MainController.js index 126d9af..7cd0305 100644 --- a/web/app/view/MainController.js +++ b/web/app/view/MainController.js @@ -21,5 +21,6 @@ Ext.define('Traccar.view.MainController', { init: function () { this.lookupReference('reportView').setHidden(Traccar.app.getBooleanAttributePreference('ui.disableReport')); + this.lookupReference('eventsView').setHidden(Traccar.app.getBooleanAttributePreference('ui.disableEvents')); } }); |