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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-10 / +8 lines)
Lines 424-438 Link Here
424
            }
424
            }
425
        });
425
        });
426
426
427
        [% FOREACH bibitemloo IN bibitemloop %]
428
          [% IF bibitemloo.holdable %]
429
            [% IF OPACItemHolds == 'force' %]
430
              $("#copiesrow_[% bibitemloo.biblionumber %]").show();
431
            [% END %]
432
          [% END %]
433
        [% END %]
434
435
436
        // click on a first td check the confirmjs checkbox
427
        // click on a first td check the confirmjs checkbox
437
        $("td.hold").click(function(e){
428
        $("td.hold").click(function(e){
438
          if(e.target.tagName.toLowerCase() == 'td'){
429
          if(e.target.tagName.toLowerCase() == 'td'){
Lines 446-451 Link Here
446
        // Hides all 'specific copy' table rows on load.
437
        // Hides all 'specific copy' table rows on load.
447
        $(".copiesrow").hide();
438
        $(".copiesrow").hide();
448
439
440
        [% FOREACH bibitemloo IN bibitemloop %]
441
          [% IF bibitemloo.holdable %]
442
            [% IF OPACItemHolds == 'force' %]
443
              $("#copiesrow_[% bibitemloo.biblionumber %]").show();
444
            [% END %]
445
          [% END %]
446
        [% END %]
447
449
        // Insert reasons for forced hold notes
448
        // Insert reasons for forced hold notes
450
        $(".forcenotesreason").each(function(){
449
        $(".forcenotesreason").each(function(){
451
            biblioNum = suffixOf($(this).attr("id"), "_");
450
            biblioNum = suffixOf($(this).attr("id"), "_");
452
- 

Return to bug 7825