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 418-432 Link Here
418
            }
418
            }
419
        });
419
        });
420
420
421
        [% FOREACH bibitemloo IN bibitemloop %]
422
          [% IF bibitemloo.holdable %]
423
            [% IF OPACItemHolds == 'force' %]
424
              $("#copiesrow_[% bibitemloo.biblionumber %]").show();
425
            [% END %]
426
          [% END %]
427
        [% END %]
428
429
430
        // click on a first td check the confirmjs checkbox
421
        // click on a first td check the confirmjs checkbox
431
        $("td.hold").click(function(e){
422
        $("td.hold").click(function(e){
432
          if(e.target.tagName.toLowerCase() == 'td'){
423
          if(e.target.tagName.toLowerCase() == 'td'){
Lines 440-445 Link Here
440
        // Hides all 'specific copy' table rows on load.
431
        // Hides all 'specific copy' table rows on load.
441
        $(".copiesrow").hide();
432
        $(".copiesrow").hide();
442
433
434
        [% FOREACH bibitemloo IN bibitemloop %]
435
          [% IF bibitemloo.holdable %]
436
            [% IF OPACItemHolds == 'force' %]
437
              $("#copiesrow_[% bibitemloo.biblionumber %]").show();
438
            [% END %]
439
          [% END %]
440
        [% END %]
441
443
        // Insert reasons for forced hold notes
442
        // Insert reasons for forced hold notes
444
        $(".forcenotesreason").each(function(){
443
        $(".forcenotesreason").each(function(){
445
            biblioNum = suffixOf($(this).attr("id"), "_");
444
            biblioNum = suffixOf($(this).attr("id"), "_");
446
- 

Return to bug 7825