[Koha-bugs] [Bug 34725] Remove use of onclick for OPAC cart

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 6 08:58:15 CEST 2023


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

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 155256
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155256&action=edit
Bug 34725: Remove use of onclick for OPAC cart

This patch moves the click handler in the OPAC cart from the inline HTML
and out to an existing <script> element.

Test plan:
0. Apply the patch
1. Go to
http://localhost:8080/cgi-bin/koha/opac-search.pl?idx=&q=test&weight_search=1
2. Add the results to the cart
3. Click on the "Cart"
4. One by one click on the title of each row
5. Notice how the parent window changes to the detail record for that title

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


More information about the Koha-bugs mailing list