Improved code layout.

This commit is contained in:
Martin Edenhofer 2012-10-31 08:56:56 +01:00
parent b0f22af880
commit 8873087c51

View file

@ -34,7 +34,7 @@ class _Singleton
# show error messages
$('body').bind( 'ajaxError', ( e, jqxhr, settings, exception ) ->
status = jqxhr.status
detail = jqxhr.responseText
detail = jqxhr.responseText
if !status && !detail
detail = 'General communication error, maybe internet is not available!'
new App.ErrorModal(