[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
Sun May 31 22:04:38 CEST 2020


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

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

--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 105446
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105446&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. Repeat step 1-2.
5. This time the form should not submit itself when you press Enter.

Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list