diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-06 09:53:50 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-06 09:53:50 +1300 |
commit | 94d9ab6b5857cc5638f07155a6b45403dbc468bf (patch) | |
tree | 93cba417a5ee10798ae852568dc156ff8addb9ab /web/app/controller/Root.js | |
parent | 939a75a9378328bd6acae260e745d44f031d5ff0 (diff) | |
download | trackermap-web-94d9ab6b5857cc5638f07155a6b45403dbc468bf.tar.gz trackermap-web-94d9ab6b5857cc5638f07155a6b45403dbc468bf.tar.bz2 trackermap-web-94d9ab6b5857cc5638f07155a6b45403dbc468bf.zip |
Make login flow nicer
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r-- | web/app/controller/Root.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 81be05a5..eaf98e8f 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -34,7 +34,6 @@ Ext.define('Traccar.controller.Root', { }, onServerReturn: function (options, success, response) { - Ext.get('spinner').remove(); if (success) { Traccar.app.setServer(Ext.decode(response.responseText)); Ext.Ajax.request({ @@ -48,6 +47,7 @@ Ext.define('Traccar.controller.Root', { }, onSessionReturn: function (options, success, response) { + Ext.get('spinner').setVisible(false); if (success) { Traccar.app.setUser(Ext.decode(response.responseText)); this.loadApp(); |