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 416-423 Link Here
416
416
417
[% BLOCK jsinclude %]
417
[% BLOCK jsinclude %]
418
    [% INCLUDE 'datatables.inc' %]
418
    [% INCLUDE 'datatables.inc' %]
419
    <script>
419
    [% IF ( TagsInputEnabled && loggedinusername ) %]
420
        [% IF ( TagsInputEnabled && loggedinusername ) %]
420
        <script>
421
            function tagSelected() {
421
            function tagSelected() {
422
                var bibs = document.getElementById('records').value;
422
                var bibs = document.getElementById('records').value;
423
                if (bibs) {
423
                if (bibs) {
Lines 459-466 Link Here
459
                KOHA.Tags.add_multitags_button(bibs, tag);
459
                KOHA.Tags.add_multitags_button(bibs, tag);
460
                return false;
460
                return false;
461
            }
461
            }
462
        [% END # / TagsInputEnabled && loggedinusername %]
462
        </script>
463
    [% END # / TagsInputEnabled && loggedinusername %]
463
464
465
    <script>
464
        $(document).ready(function(){
466
        $(document).ready(function(){
465
            $("a.bib_opener").on('click',function(){
467
            $("a.bib_opener").on('click',function(){
466
                let link = this.dataset.link;
468
                let link = this.dataset.link;
467
- 

Return to bug 41582