https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37755 --- Comment #3 from Jake Deery <jake.deery@ptfs-europe.com> --- re: testing tools/batch_record_modification.pl and tools/batch_delete_records.pl These appear to work on the surface, but I don't think they are correct. If you run this on tools/batch_record_modification.pl (when you're on the entry page, via the browser console): $("#record_ids_selection").each(function() { var tab = $(this).find('#batch_mod_form li.active:first a').attr('href'); console.log(tab); }); You get 'undefined'. I don't think that's good, obviously. :-) If you try again with the new JavaScript: $("#record_ids_selection").each(function() { var tab = $(this).find('#batch_mod_form li a.active:first').attr('href'); console.log(tab); }); You should get the HREF of the active tab. Much more expected! * * * The same can be applied to tools/batch_delete_records.pl... $("#record_ids_selection").each(function() { var tab = $(this).find('#batch_del_form:active:first a').attr('href'); console.log(tab); }); We actually hit an error. Meanwhile... $("#record_ids_selection").each(function() { var tab = $(this).find('#batch_del_form li a.active:first').attr('href'); console.log(tab); }); Should give us that HREF again. Happy times! * * * Jake. -- You are receiving this mail because: You are watching all bug changes.