Wait 1,2 sec. until open ajax called are closed.
This commit is contained in:
parent
87c1fd04b0
commit
eac4ccefde
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,10 @@ class Index extends App.Controller
|
|||
@disconnectClient()
|
||||
$('#app').hide().attr('style', 'display: none!important')
|
||||
App.Auth._logout()
|
||||
window.location = App.Config.get('api_path') + '/sessions/switch/' + id
|
||||
@delay(
|
||||
1200,
|
||||
window.location = App.Config.get('api_path') + '/sessions/switch/' + id
|
||||
)
|
||||
|
||||
edit = (id, e) =>
|
||||
e.preventDefault()
|
||||
|
|
Loading…
Reference in a new issue