Wait 1,2 sec. until open ajax called are closed.

This commit is contained in:
Martin Edenhofer 2016-01-25 13:17:50 +01:00
parent 87c1fd04b0
commit eac4ccefde

View file

@ -76,7 +76,10 @@ class Index extends App.Controller
@disconnectClient()
$('#app').hide().attr('style', 'display: none!important')
App.Auth._logout()
@delay(
1200,
window.location = App.Config.get('api_path') + '/sessions/switch/' + id
)
edit = (id, e) =>
e.preventDefault()