https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42398 --- Comment #1 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 198076 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198076&action=edit Bug 42398: Remove class validated on forms with dedicated validate handlers This patch fixes form validation for forms that have a dedicated validation handler set via .validate({...}). It removes the class validated from these form elements as theses would otherwise be validated by a call via staff-gobal.js which would overwrite the dedicated handler. Test plan: 1. Item groups: a) enable sys pref EnableItemGroups b) search a biblio with several items f.e. /cgi-bin/koha/catalogue/detail.pl?biblionumber=146 c) go to the item groups tab and add a new item group d) you are being forwarded to a strange url like /cgi-bin/koha/catalogue/detail.pl?description=foo&display_order=0# instead of having an item group created 2. Additional contents 'news' e) go to /cgi-bin/koha/tools/additional-contents.pl?category=news (Tools -> News) f) click either 'New entry' or 'New entry using text editor' g) enter a required publication date h) save the form. You will not be required to enter a default title or content. apply patch followed by a restart_all Item groups: i) redo c) and try also j) - editing an item group k) adding items to an item group via Holdings tab -> checking items -> Add/move items to an item group Additional contents 'news': l) redo e) til h) and check that you are asked to enter a title for 'Default' and content for 'Default' -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.