David Cook
c997fe863f
This change removes the "onclick" attribute for the buttons on opac-privacy.pl. Note: The Javascript is placed in a separate file, which is the preferred way for Javascript to be handled by Content-Security-Policy Test plan: 0. Apply the patch 1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACPrivacy 2. Set syspref to "Allow" 3. Go to http://localhost:8080/cgi-bin/koha/opac-privacy.pl 4. The confirmation modal appears and "OK" and "Cancel" buttons work as expected 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> |
||
---|---|---|
.. | ||
modals | ||
amazonimages.js | ||
authtoresults.js | ||
autofill.js | ||
bakertaylorimages.js | ||
basket.js | ||
browse.js | ||
browserid_include.js | ||
coce.js | ||
cookieconsent.js | ||
datatables.js | ||
Gettext.js | ||
global.js | ||
google-jackets.js | ||
i18n.js | ||
ill-availability.js | ||
localcovers.js | ||
openlibrary.js | ||
overdrive.js | ||
privacy.js | ||
ratings.js | ||
tags.js | ||
verovio.js |