From: Darren Date: Tue, 5 Nov 2013 16:31:25 +0000 (+0000) Subject: Repeat incorrect password fix #243 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b69461a770aeb124d8401b9792c7f099c5270f49;p=KiwiIRC.git Repeat incorrect password fix #243 --- diff --git a/client/src/views/serverselect.js b/client/src/views/serverselect.js index 5a2544b..ceb11da 100644 --- a/client/src/views/serverselect.js +++ b/client/src/views/serverselect.js @@ -192,6 +192,11 @@ _kiwi.view.ServerSelect = function () { $('.more', this.$el).hide(); $('.show_more', this.$el).hide(); $('input.nick', this.$el).select(); + + } else if (new_state === 'enter_password') { + $('.more', this.$el).hide(); + $('.show_more', this.$el).hide(); + $('input.password', this.$el).select(); } state = new_state; @@ -259,7 +264,7 @@ _kiwi.view.ServerSelect = function () { break; case 'password_mismatch': this.setStatus(_kiwi.global.i18n.translate('client_views_serverselect_password_incorrect').fetch()); - this.show('nick_change'); + this.show('enter_password'); this.$el.find('.password').select(); break; }