Commit 8c45f232 authored by Alexandru Ghica's avatar Alexandru Ghica

Better message on error

Changed message from "conecting" to "error" as in this case
communication was over and was an error.
parent b6af624b
...@@ -1815,8 +1815,10 @@ ...@@ -1815,8 +1815,10 @@
}).render(); }).render();
$(document).bind('jarnxmpp.disconnected', $.proxy(function (ev, conn) { $(document).bind('jarnxmpp.disconnected', $.proxy(function (ev, conn) {
$connecting.show();
$toggle.hide(); $toggle.hide();
$connecting.show();
$connecting.html('Unable to communicate with chat server');
$connecting.css('background-image', "url('/error_icon.png')");
console.log("Connection Failed :("); console.log("Connection Failed :(");
}, this)); }, this));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment