diff --git a/lam/lib/modules/imapAccess.inc b/lam/lib/modules/imapAccess.inc index afdfc5d3..14974242 100644 --- a/lam/lib/modules/imapAccess.inc +++ b/lam/lib/modules/imapAccess.inc @@ -290,6 +290,7 @@ class imapAccess extends baseModule { $passwordInput = new htmlTableExtendedInputField(_("Password of IMAP admin user"), 'ImapAdminPassword', '', 'ImapAdminPassword_Sess'); $passwordInput->setIsPassword(true); $passwordInput->setRequired(true); + $passwordInput->setOnKeyPress('SubmitForm(\'enterPasswordButton\', event);'); $return->addElement($passwordInput, true); $return->addElement(new htmlSpacer(null, '10px'), true); $return->addElement(new htmlButton('enterPasswordButton', _('Ok')));