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

Philip Orr <[email protected]> changed:

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

--- Comment #5 from Philip Orr <[email protected]> ---
Created attachment 187201
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187201&action=edit
Bug 40783: Result page checkbox now triggers click

This patch changes the behaviour off the checkboxes on the results page, so
that instead of causing a form submission (essentially, a page refresh), the
checkbox will now follow the same behaviour as if it were clicked.

TO TEST:
a)  go to /cgi-bin/koha/opac-search.pl?idx=kw&q=history&sort_by=relevance
b)  add an item to your cart (ensure the syspref is enabled)
c)  tab through the results until you come across a checkbox, press
return
d)  notice your page refreshes, as a form submission has happened
APPLY PATCH
e)  repeat steps a-c
f)  notice the page no longer refreshes, and that no form submission
occurs
g)  notice that the checkbox is now checked, as if it had been clicked
h)  notice the items are still in your cart and can be interacted with
normally
SIGN OFF

Signed-off-by: John Doe <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to