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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/merge-record.inc (-1 lines)
Lines 48-54 Link Here
48
    <div id="tabs" class="toptabs">
48
    <div id="tabs" class="toptabs">
49
        <h2>Source records</h2>
49
        <h2>Source records</h2>
50
        <ul class="nav nav-tabs" role="tablist">
50
        <ul class="nav nav-tabs" role="tablist">
51
    <div class="tab-content">
52
            [% FOREACH record IN sourcerecords %]
51
            [% FOREACH record IN sourcerecords %]
53
                <li role="presentation">
52
                <li role="presentation">
54
                    <a href="#tabrecord[% record.recordid | uri %]" aria-controls="tabrecord[% record.recordid | uri %]" role="tab" data-toggle="tab">
53
                    <a href="#tabrecord[% record.recordid | uri %]" aria-controls="tabrecord[% record.recordid | uri %]" role="tab" data-toggle="tab">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-1 / +1 lines)
Lines 464-470 Link Here
464
                return confirm(_("Are you sure you want to delete this authorized value category?"));
464
                return confirm(_("Are you sure you want to delete this authorized value category?"));
465
            });
465
            });
466
466
467
            if( $(".tab-pane.active").length < 1 ){
467
            if( $("#icons .tab-pane.active").length < 1 ){
468
                $("#icons a:first").tab("show");
468
                $("#icons a:first").tab("show");
469
            }
469
            }
470
        });
470
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-1 / +1 lines)
Lines 136-142 Link Here
136
                });
136
                });
137
            });
137
            });
138
138
139
            if( $(".tab-pane.active").length < 1 ){
139
            if( $("#transferlimit_tabs .tab-pane.active").length < 1 ){
140
                  $("#transferlimit_tabs a:first").tab("show");
140
                  $("#transferlimit_tabs a:first").tab("show");
141
            }
141
            }
142
142
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-1 / +1 lines)
Lines 643-649 Item types &rsaquo; Administration &rsaquo; Koha Link Here
643
                toUC(this);
643
                toUC(this);
644
            });
644
            });
645
            $(".library_limitation").tooltip();
645
            $(".library_limitation").tooltip();
646
            if( $(".tab-pane.active").length < 1 ){
646
            if( $("#icons .tab-pane.active").length < 1 ){
647
                $("#icons a:first").tab("show");
647
                $("#icons a:first").tab("show");
648
            }
648
            }
649
         });
649
         });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-1 / +1 lines)
Lines 136-142 Link Here
136
    [% END %]
136
    [% END %]
137
    <script>
137
    <script>
138
        $(document).ready(function() {
138
        $(document).ready(function() {
139
            if( $(".tab-pane.active").length < 1 ){
139
            if( $("#authoritiestabs .tab-pane.active").length < 1 ){
140
                $("#authoritiestabs a:first").tab("show");
140
                $("#authoritiestabs a:first").tab("show");
141
            }
141
            }
142
142
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt (-1 / +1 lines)
Lines 149-155 div#result { margin-top: 1em; } Link Here
149
            ev.preventDefault();
149
            ev.preventDefault();
150
            newin=window.open($(this).attr('href'),'merge_reference', 'width=1000,height=600,toolbar=false,scrollbars=yes');
150
            newin=window.open($(this).attr('href'),'merge_reference', 'width=1000,height=600,toolbar=false,scrollbars=yes');
151
        });
151
        });
152
        if( $(".tab-pane.active").length < 1 ){
152
        if( $("#tabs .tab-pane.active").length < 1 ){
153
            $("#tabs a:first").tab("show");
153
            $("#tabs a:first").tab("show");
154
        }
154
        }
155
    });
155
    });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-1 / +1 lines)
Lines 232-238 Link Here
232
            $("#Frameworks").on("change",function(){
232
            $("#Frameworks").on("change",function(){
233
                Changefwk(this);
233
                Changefwk(this);
234
            });
234
            });
235
            if( $(".tab-pane.active").length < 1 ){
235
            if( $("#bibliotabs .tab-pane.active").length < 1 ){
236
                $("#bibliotabs a:first").tab("show");
236
                $("#bibliotabs a:first").tab("show");
237
            }
237
            }
238
        });
238
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-1 / +1 lines)
Lines 419-425 Link Here
419
        var Sticky;
419
        var Sticky;
420
        $(document).ready(function() {
420
        $(document).ready(function() {
421
            $("input[name=q]:eq(0)").focus();
421
            $("input[name=q]:eq(0)").focus();
422
            if( $(".tab-pane.active").length < 1 ){
422
            if( $("#advsearches .tab-pane.active").length < 1 ){
423
                $("#advsearches a:first").tab("show");
423
                $("#advsearches a:first").tab("show");
424
            }
424
            }
425
            Sticky = $("#toolbar");
425
            Sticky = $("#toolbar");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-2 / +1 lines)
Lines 293-299 div#result { margin-top: 1em; } Link Here
293
              rebuild_target($("#tabs"), $("#resultul"));
293
              rebuild_target($("#tabs"), $("#resultul"));
294
            });
294
            });
295
295
296
            if( $(".tab-pane.active").length < 1 ){
296
            if( $("#tabs .tab-pane.active").length < 1 ){
297
                $("#tabs a:first").tab("show");
297
                $("#tabs a:first").tab("show");
298
            }
298
            }
299
299
300
- 

Return to bug 33278