Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
David Cook 8341ffe13d
Bug 34571: Remove use of "onclick" for ExpandField in cataloguing editors
This change replaces the onclick HTML attribute with a Javascript binding
to make it more in line with Koha conventions and make it CSP compatible.

Test plan:
0. Apply patch
1. Go to http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=#
2. Try hiding/unhiding fields
3. Try cloning fields and hiding/unhiding those too
4. Note that everything works as expected
5. Do the same thing for authorities by going to
http://localhost:8081/cgi-bin/koha/authorities/authorities.pl?authtypecode=#

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-08-30 10:07:08 -03:00
..
value_builder Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
addbiblio.tt Bug 34571: Remove use of "onclick" for ExpandField in cataloguing editors 2023-08-30 10:07:08 -03:00
addbooks.tt Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
additem.tt Bug 34232: (QA follow-up) Remove superfluous "Use:" from each list entry 2023-07-14 15:23:26 -03:00
cataloging-home.tt Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
concerns.tt Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
editor.tt Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
linkitem.tt Bug 34436: Some breadcrumbs lack <span> for translatability 2023-08-15 11:25:55 +03:00
merge.tt Bug 33591: Restore auto-select of checkboxes of src record when merging 2023-05-09 10:58:03 -03:00
moveitem.tt Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
z3950_auth_search.tt Bug 34343: Update style of fixed footer navbar in Z39.50 searches 2023-08-15 15:14:07 +03:00
z3950_search.tt Bug 34343: Update style of fixed footer navbar in Z39.50 searches 2023-08-15 15:14:07 +03:00