v1.18.x
Julian Lam 9 years ago
parent fb278dd146
commit dd8e5edbd7

@ -37,6 +37,11 @@ define('forum/login', ['translator'], function(translator) {
errorEl.find('p').translateText(data.responseText); errorEl.find('p').translateText(data.responseText);
errorEl.show(); errorEl.show();
submitEl.removeClass('disabled'); submitEl.removeClass('disabled');
// Select the entire password if that field has focus
if ($('#password:focus').size()) {
$('#password').select();
}
} }
} }
}); });

Loading…
Cancel
Save