View | Details | Raw Unified | Return to bug 23246
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +5 lines)
Lines 896-904 Link Here
896
896
897
        $(document).ready(function() {
897
        $(document).ready(function() {
898
            $('#bibliodetails').tabs();
898
            $('#bibliodetails').tabs();
899
            [% IF count == 0 %]
899
        [% IF count == 0 and
900
                $('#bibliodetails').tabs("option", "active", 3);
900
              ( Koha.Preference('HTML5MediaEnabled') == 'staff' or
901
            [% END %]
901
                Koha.Preference('HTML5MediaEnabled') == 'both' ) %]
902
            $('#bibliodetails').tabs("option", "active", 3);
903
        [% END %]
902
            $('#search-form').focus();
904
            $('#search-form').focus();
903
            $('.thumbnails > li > .remove').click(function() {
905
            $('.thumbnails > li > .remove').click(function() {
904
                var result = confirm(_("Are you sure you want to delete this cover image?"));
906
                var result = confirm(_("Are you sure you want to delete this cover image?"));
905
- 

Return to bug 23246