diff options
Diffstat (limited to 'web/app/view/Main.js')
-rw-r--r-- | web/app/view/Main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/Main.js b/web/app/view/Main.js index 3f7cf7c1..2d251a5b 100644 --- a/web/app/view/Main.js +++ b/web/app/view/Main.js @@ -20,6 +20,7 @@ Ext.define('Traccar.view.Main', { alias: 'widget.main', requires: [ + 'Traccar.view.MainController', 'Traccar.view.edit.Devices', 'Traccar.view.State', 'Traccar.view.Report', @@ -27,6 +28,8 @@ Ext.define('Traccar.view.Main', { 'Traccar.view.map.Map' ], + controller: 'mainController', + layout: 'border', defaults: { @@ -60,6 +63,7 @@ Ext.define('Traccar.view.Main', { }, { region: 'south', xtype: 'reportView', + reference: 'reportView', height: Traccar.Style.reportHeight, collapsed: true, titleCollapse: true, |