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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-4 / +5 lines)
Lines 443-450 Link Here
443
443
444
[% BLOCK jsinclude %]
444
[% BLOCK jsinclude %]
445
    [% INCLUDE 'datatables.inc' %]
445
    [% INCLUDE 'datatables.inc' %]
446
    <script>
446
    [% IF ( TagsInputEnabled && loggedinusername ) %]
447
        [% IF ( TagsInputEnabled && loggedinusername ) %]
447
        <script>
448
            function tagSelected() {
448
            function tagSelected() {
449
                var bibs = document.getElementById('records').value;
449
                var bibs = document.getElementById('records').value;
450
                if (bibs) {
450
                if (bibs) {
Lines 486-493 Link Here
486
                KOHA.Tags.add_multitags_button(bibs, tag);
486
                KOHA.Tags.add_multitags_button(bibs, tag);
487
                return false;
487
                return false;
488
            }
488
            }
489
        [% END # / TagsInputEnabled && loggedinusername %]
489
        </script>
490
    [% END # / TagsInputEnabled && loggedinusername %]
490
491
492
    <script>
491
        $(document).ready(function(){
493
        $(document).ready(function(){
492
            $("a.bib_opener").on('click',function(){
494
            $("a.bib_opener").on('click',function(){
493
                let link = this.dataset.link;
495
                let link = this.dataset.link;
494
- 

Return to bug 41582