[Koha-bugs] [Bug 34934] Remove the use of event attributes from OPAC lists page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 27 18:01:43 CEST 2023


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 156298
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156298&action=edit
Bug 34934: Remove the use of event attributes from OPAC lists page

This patch removes the use of event attributes (onclick, onchange) from
the OPAC lists template. These events are defined now along with the
other in-page JS.

The patch also removes a "delete list" button which was only shown
when viewing an empty list and which was redundant.

To test, apply the patch and log into the OPAC.

- Go to Lists -> New list.
- Change the category to "Private" and the "Allow changes" dropdown to
  "Staff only."
  - You should see a message, 'The "Staff only" permission has no actual
    effect while this list is strictly private'
- Change the category to "Public." The message should disappear.

- View the contents of a list.
  - Click the "Send list" button at the top of the table of titles.
  - It should trigger the "Sending your list" popup window.

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


More information about the Koha-bugs mailing list