#87793Default submit in locked install tool reloads the form
Description
In Firefox (at least on Ubuntu) when entering a password in the locked install tool and pressing enter the password is not sent to the server, instead the form is just reloaded. This is due to a check on keyCode in the javascript:
$(document).on('keydown', '#t3-install-form-password', function(e) {
if (e.keyCode === 13) {
e.preventDefault();
$('.t3js-login-login').click();
}
Instead of keydown keypress should be used and additionally e.which should be checked.
var code = e.keyCode || e.which;
if(code == 13) { //Enter keycode
//Do something
}