From: Darren Date: Tue, 15 Jul 2014 10:29:28 +0000 (+0100) Subject: Display any IRC connection errors in the client X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3f96b83f8d83e6bd0b0ceefbcb5744757e65bf03;p=KiwiIRC.git Display any IRC connection errors in the client --- diff --git a/client/src/views/serverselect.js b/client/src/views/serverselect.js index 025a1a2..dce9ddd 100644 --- a/client/src/views/serverselect.js +++ b/client/src/views/serverselect.js @@ -303,6 +303,9 @@ _kiwi.view.ServerSelect = Backbone.View.extend({ this.show('enter_password'); this.$el.find('.password').select(); break; + default: + this.showError(data.reason || ''); + break; } },