[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:20:57 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25349

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105533|0                           |1
        is obsolete|                            |

--- Comment #12 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 105556
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105556&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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list