https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23246

--- Comment #13 from Tomás Cohen Arazi <tomasco...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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/

Reply via email to