1
0
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:
Adolfo Gómez García 2018-11-22 12:09:58 +01:00
parent 3e3ea59261
commit 43cb02b177

View File

@ -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