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 1982-1987 Link Here
1982
1982
1983
            let items_tab_ids = [ 'holdings', 'otherholdings' ];
1983
            let items_tab_ids = [ 'holdings', 'otherholdings' ];
1984
            items_tab_ids.forEach( function( tab_id, index ) {
1984
            items_tab_ids.forEach( function( tab_id, index ) {
1985
1986
                // Early return if the tab is not shown (ie. no table)
1987
                if (!$("#%s-tab".format(tab_id)).length) return;
1988
1985
                build_items_table(tab_id, false, {}, build_items_table_drawncallback);
1989
                build_items_table(tab_id, false, {}, build_items_table_drawncallback);
1986
1990
1987
                [% IF bundlesEnabled %]
1991
                [% IF bundlesEnabled %]
1988
- 

Return to bug 38436