https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23246 --- Comment #13 from Tomás Cohen Arazi <tomascohen@gmail.com> --- This report tries to deal with: - The template not respecting whether the HTML5MediaEnabled syspref is set to display the 'Media' tab, and makes the third tab to get selected This was intended to work like this: - You have HTML5MediaEnabled set to display the media tab - The record has no items, then jump to the third tab This is wrong because there are many situations that would yield to wrong tabs being selected, see #c2. Most of them are not trivial to reproduce, probably. But the most basic, having HTML5MediaEnabled disbaled, clearly fails. So the patches attached: - Check if we really have HTML5MediaEnabled set to display in the staff interface - Assing an identifiable ID to the 'media' tab, so instead of a hardcoded tab index, it 'does the right thing'. -- You are receiving this mail because: You are watching all bug changes.