aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:20:12 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:20:12 +1200
commit24c7705d7fa5aa7393dc7def4d9cd6c16ad8fc8d (patch)
tree3c174ac2f223ce40ad598e93a060acf7fdbc8295 /web/app/controller
parentc3eb0a64c586e2bb71494fa2054ba9cea7ec3a2e (diff)
downloadtrackermap-server-24c7705d7fa5aa7393dc7def4d9cd6c16ad8fc8d.tar.gz
trackermap-server-24c7705d7fa5aa7393dc7def4d9cd6c16ad8fc8d.tar.bz2
trackermap-server-24c7705d7fa5aa7393dc7def4d9cd6c16ad8fc8d.zip
Move main layouts to view folder
Diffstat (limited to 'web/app/controller')
-rw-r--r--web/app/controller/Root.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index 9eef35dc0..9ae7fa761 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -18,10 +18,7 @@ Ext.define('Traccar.controller.Root', {
extend: 'Ext.app.Controller',
requires: [
- 'Traccar.LoginManager',
- 'Traccar.view.login.Login',
- 'Traccar.view.main.Main',
- 'Traccar.view.main.MainMobile'
+ 'Traccar.LoginManager'
],
init: function() {
@@ -68,10 +65,9 @@ Ext.define('Traccar.controller.Root', {
Ext.getStore('Devices').load();
Ext.getBody().empty();
if (this.isPhone) {
- Ext.create('Traccar.view.main.MainMobile');
+ Ext.create('Traccar.view.MainMobile');
} else {
- Ext.create('Traccar.view.main.Main');
+ Ext.create('Traccar.view.Main');
}
}
-
});