mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Now on access error, reloads page
This commit is contained in:
parent
3e3ea59261
commit
43cb02b177
@ -205,7 +205,9 @@ uds.launch = (el, url, alt) ->
|
|||||||
|
|
||||||
error: (jqXHR, textStatus, errorThrown) ->
|
error: (jqXHR, textStatus, errorThrown) ->
|
||||||
unblockUI()
|
unblockUI()
|
||||||
alert gettext('Error accessing service: ') + textStatus
|
# Reload window in case of error
|
||||||
|
window.location.reload()
|
||||||
|
# alert gettext('Error accessing service: ') + textStatus
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user