From b69461a770aeb124d8401b9792c7f099c5270f49 Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 5 Nov 2013 16:31:25 +0000 Subject: [PATCH] Repeat incorrect password fix #243 --- client/src/views/serverselect.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.25.1