Display any IRC connection errors in the client
authorDarren <darren@darrenwhitlen.com>
Tue, 15 Jul 2014 10:29:28 +0000 (11:29 +0100)
committerDarren <darren@darrenwhitlen.com>
Tue, 15 Jul 2014 10:29:28 +0000 (11:29 +0100)
client/src/views/serverselect.js

index 025a1a2d59ddc9b3e08bd9e02f60c045a30e41d4..dce9ddd86ffe05d4bf8af7b69947d09ee62864fc 100644 (file)
@@ -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;
         }
     },