https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42128 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 195686 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195686&action=edit Bug 42128: Remove event attribute from admin-icon-selection.inc This patch removes the "onmousedown" event attribute from admin-icon-selection.inc, an include used in itemtypes.tt and authorised_values.tt. I took this opportunity to create separate JS files for both of those templates and added the event handler to the JS. To test, apply the patch and go to Administration. - Go to Item types and add or edit an item type. - In the icon selection section, select one of the built-in icons. - Switch to the "Remove image" tab. - Click the text input. The corresponding radio button should be selected. - Go to Authorized values and perform the same test. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.