enter in password field presses button
This commit is contained in:
parent
3d8c0e7dcc
commit
8df830d281
|
@ -290,6 +290,7 @@ class imapAccess extends baseModule {
|
||||||
$passwordInput = new htmlTableExtendedInputField(_("Password of IMAP admin user"), 'ImapAdminPassword', '', 'ImapAdminPassword_Sess');
|
$passwordInput = new htmlTableExtendedInputField(_("Password of IMAP admin user"), 'ImapAdminPassword', '', 'ImapAdminPassword_Sess');
|
||||||
$passwordInput->setIsPassword(true);
|
$passwordInput->setIsPassword(true);
|
||||||
$passwordInput->setRequired(true);
|
$passwordInput->setRequired(true);
|
||||||
|
$passwordInput->setOnKeyPress('SubmitForm(\'enterPasswordButton\', event);');
|
||||||
$return->addElement($passwordInput, true);
|
$return->addElement($passwordInput, true);
|
||||||
$return->addElement(new htmlSpacer(null, '10px'), true);
|
$return->addElement(new htmlSpacer(null, '10px'), true);
|
||||||
$return->addElement(new htmlButton('enterPasswordButton', _('Ok')));
|
$return->addElement(new htmlButton('enterPasswordButton', _('Ok')));
|
||||||
|
|
Loading…
Reference in New Issue