[Koha-bugs] [Bug 34709] Eliminate event handler attributes in the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 4 01:29:09 CEST 2023


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

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
Using the following I found one more instance:

egrep -R " on[a-z]+=" koha-tmpl/opac-tmpl/*

Bug 34980

Once we've pushed the dependent bugs, we'll be adhering to
https://wiki.koha-community.org/wiki/Coding_Guidelines#JS9:_Avoid_the_use_of_event_attributes_like_.22onclick.22_to_attach_events
in the OPAC!

It would also allow us to start using Content-Security-Policy in the OPAC...

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


More information about the Koha-bugs mailing list