Fix/remove useless keyup event handler on username input in logon form (#6970)

pull/7076/head
Aleksander Machniak 5 years ago
parent 9219f4cd65
commit 604e814898

@ -15,6 +15,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where Ctype extension wasn't required in Installer and INSTALL file (#7049)
- Fix so install-jsdeps.sh removes Bootstrap's sourceMappingURL (#7035)
- Fix so use of Ctrl+A does not scroll the list (#7020)
- Fix/remove useless keyup event handler on username input in logon form (#6970)
RELEASE 1.4.1
-------------

@ -624,8 +624,6 @@ function rcube_webmail()
input_user = $('#rcmloginuser'),
input_tz = $('#rcmlogintz');
input_user.keyup(function(e) { return ref.login_user_keyup(e); });
if (input_user.val() == '')
input_user.focus();
else
@ -4486,26 +4484,6 @@ function rcube_webmail()
};
/*********************************************************/
/********* login form methods *********/
/*********************************************************/
// handler for keyboard events on the _user field
this.login_user_keyup = function(e)
{
var key = rcube_event.get_keycode(e),
passwd = $('#rcmloginpwd');
// enter
if (key == 13 && passwd.length && !passwd.val()) {
passwd.focus();
return rcube_event.cancel(e);
}
return true;
};
/*********************************************************/
/********* message compose methods *********/
/*********************************************************/

Loading…
Cancel
Save