From d310875d1bf13baa13daba2ec73107dbeaa397f7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 1 Jun 2015 12:36:28 +1200 Subject: Load server settings in web --- web/app/controller/Root.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'web/app/controller') 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' -- cgit v1.2.3