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

Return to bug 7825