From 8df830d281197793ff748b87ca227554bf59a51c Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 21 Sep 2014 19:28:56 +0000 Subject: [PATCH] enter in password field presses button --- lam/lib/modules/imapAccess.inc | 1 + 1 file changed, 1 insertion(+) 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')));