diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-01 12:36:28 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-01 12:36:28 +1200 |
commit | d310875d1bf13baa13daba2ec73107dbeaa397f7 (patch) | |
tree | c18e3b7de87bfb470d6d2de2203e4236657a173b /web/app/controller/Root.js | |
parent | c91259f62618358ccf662a5d883f70df79ecbe65 (diff) | |
download | trackermap-server-d310875d1bf13baa13daba2ec73107dbeaa397f7.tar.gz trackermap-server-d310875d1bf13baa13daba2ec73107dbeaa397f7.tar.bz2 trackermap-server-d310875d1bf13baa13daba2ec73107dbeaa397f7.zip |
Load server settings in web
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r-- | web/app/controller/Root.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index f999cf462..10deb69c8 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -24,6 +24,13 @@ Ext.define('Traccar.controller.Root', { ], onLaunch: function () { + Traccar.LoginManager.server({ + scope: this, + callback: 'onServer' + }); + }, + + onServer: function() { Traccar.LoginManager.session({ scope: this, callback: 'onSession' |