https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42467
--- Comment #3 from Jonathan Druart <[email protected]> --- Created attachment 198605 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198605&action=edit Bug 42467: Remove event attributes from MARC modification templates template This patch removes several "onChange" event attributes from marc_modification_templates.tt and moves the event handlers into marc_modification_templates.js. The patch also corrects a view minor zxlinting errors in the JS file. To test, apply the patch and clear your browser cache if necessary. - Go to Cataloging -> MARC modification templates. - Create a new template if necessary. - Click "New action." - Test the behavior of dropdowns and checkboxes in the new action form. - Fields should be correctly shown or hidden based on the selected actions - Fields should be correctly shown or hidden based on the "RegEx" checkbox. - Text the conditional dropdown along with the "matches" dropdown. - Test that the "matches" regex fields are correctly displayed according to the checkbox. - The browser developer console should show no "Content-Security-Policy" errors. Sponsored-by: Athens County Public Libraries Signed-off-by: Phil Ringnalda <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
