diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index b35ab18b..36656138 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -13,6 +13,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI Callbacks = { error: function (reason) { + // Don't show the error for when the server goes down + if(reason && reason.returnValue === true) + return; + var d = $("
").addClass("alert alert-error span12") .appendTo($("#announcements")); $("

").text("Uh-oh!").appendTo(d);