[Koha-bugs] [Bug 25349] Enter in the username field submits the login, instead of moving focus to the password field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 4 16:32:45 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25349
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #105556|0 |1
is obsolete| |
--- Comment #13 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 105557
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105557&action=edit
Bug 25349: Add checkEnter function and apply it to SCO page
This patch adds the checkEnter function to the OPAC global.js and then applies
it to the SCO login page.
TO TEST:
1. Go to SCO login and try entering something in the "Login:" input amd
"Password:" input.
2. Pressing enter while in either will automatically submit the form.
3. Apply patch.
4. Type something into the Login: field and press enter, the form should NOT
submit.
5. Type something into the Password: field and pess enter, this SHOULD submit
the form.
6. Change the syspref SelfCheckoutByLogin to 'Cardnumber'
7. Type something into the Please enter your card number: field, the form
should submit.
Signed-off-by: Donnab <donna at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list