| Lines 397-403
          
      
      
        Link Here | 
        
          | 397 |                                                                 <tr class="holdable"> | 397 |                                                                 <tr class="holdable"> | 
        
          | 398 |                                                             [% END %] | 398 |                                                             [% END %] | 
        
          | 399 |                                                                     <td class="copynumber" data-order="[% itemLoo.copynumber | html %]"> | 399 |                                                                     <td class="copynumber" data-order="[% itemLoo.copynumber | html %]"> | 
          
            
              | 400 |                                                                         <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" /> | 400 |                                                                         <input type="checkbox" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" /> | 
        
          | 401 |                                                         [% ELSE %] | 401 |                                                         [% ELSE %] | 
        
          | 402 |                                                             [% SET unholdable_items = 1 %] | 402 |                                                             [% SET unholdable_items = 1 %] | 
        
          | 403 |                                                             [% IF ( itemLoo.checkout ) %] | 403 |                                                             [% IF ( itemLoo.checkout ) %] | 
  
    | Lines 656-662
          
      
      
        Link Here | 
        
          | 656 |             $(".confirmjs:checked").each(function() { | 656 |             $(".confirmjs:checked").each(function() { | 
        
          | 657 |                 var biblioNum = $(this).val(); | 657 |                 var biblioNum = $(this).val(); | 
        
          | 658 |                 biblionumbers += biblioNum + "/"; | 658 |                 biblionumbers += biblioNum + "/"; | 
          
            
              | 659 |                 selections += biblioNum + "/"; | 659 |                 let select_bib = biblioNum; | 
            
              |  |  | 660 |                 let select_pickup; | 
            
              | 661 |                 let select_items = []; | 
        
          | 660 |  | 662 |  | 
        
          | 661 |                 // If required hold note is empty, make it visible | 663 |                 // If required hold note is empty, make it visible | 
        
          | 662 |                 if( $("#holdnotes_"+biblioNum).attr( 'required' ) && $("#holdnotes_"+biblioNum).val() == '' ) { | 664 |                 if( $("#holdnotes_"+biblioNum).attr( 'required' ) && $("#holdnotes_"+biblioNum).val() == '' ) { | 
  
    | Lines 682-704
          
      
      
        Link Here | 
        
          | 682 |                 // If the 'specific copy' radio button is checked | 684 |                 // If the 'specific copy' radio button is checked | 
        
          | 683 |                 if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) { | 685 |                 if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) { | 
        
          | 684 |                     // Find the selected copy | 686 |                     // Find the selected copy | 
          
            
              | 685 |                     var item = $(".checkitem_" + biblioNum + ":checked"); | 687 |                     var items = $(".checkitem_" + biblioNum + ":checked"); | 
            
              | 686 |                     if ($(item).size() == 0) { | 688 |                     if ($(items).size() == 0) { | 
        
          | 687 |                         alert( _("Expecting a specific item selection.") ); | 689 |                         alert( _("Expecting a specific item selection.") ); | 
        
          | 688 |                         badBib = biblioNum; | 690 |                         badBib = biblioNum; | 
        
          | 689 |                         return false; | 691 |                         return false; | 
        
          | 690 |                     } else { | 692 |                     } else { | 
          
            
              | 691 |                       selections += $(item).val(); | 693 |                         items.each( function(index,el){ | 
            
              |  |  | 694 |                             select_items.push( $(el).val() ); | 
            
              | 695 |                         }); | 
        
          | 692 |                     } | 696 |                     } | 
        
          | 693 |                 } | 697 |                 } | 
            
              | 694 |                 selections += "/"; |  |  | 
        
          | 695 |  | 698 |  | 
        
          | 696 |                 // Add the pickup location | 699 |                 // Add the pickup location | 
        
          | 697 |                 var branchSel = $("#branch_" + biblioNum); | 700 |                 var branchSel = $("#branch_" + biblioNum); | 
        
          | 698 |                 if (branchSel.size() > 0) { | 701 |                 if (branchSel.size() > 0) { | 
          
            
              | 699 |                     selections += $(branchSel).val(); | 702 |                     select_pickup = $(branchSel).val(); | 
            
              |  |  | 703 |                 } | 
            
              | 704 |                 if ( select_items.length > 0 ){ | 
            
              | 705 |                     select_items.forEach( function(item_value,index){ | 
            
              | 706 |                         selections += select_bib + "/" + item_value + "/" + select_pickup + "/"; | 
            
              | 707 |                     }); | 
            
              | 708 |                 } | 
            
              | 709 |                 else { | 
            
              | 710 |                     selections += select_bib + "/" + "/" + select_pickup + "/"; | 
        
          | 700 |                 } | 711 |                 } | 
            
              | 701 |                 selections += "/"; |  |  | 
        
          | 702 |                 return true; | 712 |                 return true; | 
        
          | 703 |             }); | 713 |             }); | 
        
          | 704 |  | 714 |  | 
            
              | 705 | -  |  |  |