Koha/koha-tmpl/opac-tmpl
Owen Leonard 56348379ec
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.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-03 08:51:13 -04:00
..
bootstrap Bug 34934: Remove the use of event attributes from OPAC lists page 2023-10-03 08:51:13 -04:00
lib Bug 34613: Replace onclick attributes in midiplayer.js 2023-09-18 15:31:47 -03:00
xslt Bug 33270: (follow-up) Handle records that fail attempt to ignore bad characters 2023-07-18 12:46:58 -03:00