Improved code layout.
This commit is contained in:
parent
b0f22af880
commit
8873087c51
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class _Singleton
|
||||||
# show error messages
|
# show error messages
|
||||||
$('body').bind( 'ajaxError', ( e, jqxhr, settings, exception ) ->
|
$('body').bind( 'ajaxError', ( e, jqxhr, settings, exception ) ->
|
||||||
status = jqxhr.status
|
status = jqxhr.status
|
||||||
detail = jqxhr.responseText
|
detail = jqxhr.responseText
|
||||||
if !status && !detail
|
if !status && !detail
|
||||||
detail = 'General communication error, maybe internet is not available!'
|
detail = 'General communication error, maybe internet is not available!'
|
||||||
new App.ErrorModal(
|
new App.ErrorModal(
|
||||||
|
|
Loading…
Reference in a new issue