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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +4 lines)
Lines 1965-1970 Link Here
1965
1965
1966
            let items_tab_ids = [ 'holdings', 'otherholdings' ];
1966
            let items_tab_ids = [ 'holdings', 'otherholdings' ];
1967
            items_tab_ids.forEach( function( tab_id, index ) {
1967
            items_tab_ids.forEach( function( tab_id, index ) {
1968
1969
                // Early return if the tab is not shown (ie. no table)
1970
                if (!$("#%s-tab".format(tab_id)).length) return;
1971
1968
                build_items_table(tab_id, false, {}, build_items_table_drawncallback);
1972
                build_items_table(tab_id, false, {}, build_items_table_drawncallback);
1969
1973
1970
                [% IF bundlesEnabled %]
1974
                [% IF bundlesEnabled %]
1971
- 

Return to bug 38436