[Koha-bugs] [Bug 9120] Typing the ENTER key when submitting a tag from search results reloads the page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 18 17:26:56 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9120

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 36991
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36991&action=edit
Bug 9120: Prevent form submission on adding tags - OPAC

At the OPAC, if the user adds tags pressing 'Enter', the page is
reloaded and the tags are not added.
To prevent that, this patch suggests to block the "press enter" event on
the inputs.

Test plan:
0/ Confirm the bad behavior, without this patch.
1/ Apply this patch and confirm nothing happen on pressing enter when
the focus is on the add tag input (At the opac, on the result view).

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


More information about the Koha-bugs mailing list