Skip to content

Commit

Permalink
Repeat incorrect password fix #243
Browse files Browse the repository at this point in the history
  • Loading branch information
prawnsalad committed Nov 5, 2013
1 parent 9421e70 commit b69461a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client/src/views/serverselect.js
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit b69461a

Please sign in to comment.