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 @@
}).render();
$(document).bind('jarnxmpp.disconnected', $.proxy(function (ev, conn) {
$connecting.show();
$toggle.hide();
$connecting.show();
$connecting.html('Unable to communicate with chat server');
$connecting.css('background-image', "url('/error_icon.png')");
console.log("Connection Failed :(");
}, 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