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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-2 / +1 lines)
Lines 709-715 Link Here
709
        <script>
709
        <script>
710
710
711
            $(document).ready(function(){
711
            $(document).ready(function(){
712
                if( $("#tabs .tab-pane.active").length < 1 ){
712
                if( $("#tabs").length > 0 && $("#tabs .tab-pane.active").length < 1 ){
713
                    /* Activate first tab and initialize its tinyMCE instance */
713
                    /* Activate first tab and initialize its tinyMCE instance */
714
                    let firstTab = $("#tabs a:first");
714
                    let firstTab = $("#tabs a:first");
715
                    firstTab.tab("show");
715
                    firstTab.tab("show");
716
- 

Return to bug 31609