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 706-712 Link Here
706
        <script>
706
        <script>
707
707
708
            $(document).ready(function(){
708
            $(document).ready(function(){
709
                if( $("#tabs .tab-pane.active").length < 1 ){
709
                if( $("#tabs").length > 0 && $("#tabs .tab-pane.active").length < 1 ){
710
                    /* Activate first tab and initialize its tinyMCE instance */
710
                    /* Activate first tab and initialize its tinyMCE instance */
711
                    let firstTab = $("#tabs a:first");
711
                    let firstTab = $("#tabs a:first");
712
                    firstTab.tab("show");
712
                    firstTab.tab("show");
713
- 

Return to bug 31609