| 
      
            Lines 34-40
          $(document).ready(function(){
      
      
        Link Here
      
     | 
  
        
          | 34 | 
                      $(".btn-group").removeClass("open"); | 
          34 | 
                      $(".btn-group").removeClass("open"); | 
        
        
          | 35 | 
                      return false;  | 
          35 | 
                      return false;  | 
        
        
          | 36 | 
                  });  | 
          36 | 
                  });  | 
        
          
            
              | 37 | 
                      [% IF ( is_child ) %]$("#updatechild").click(function(){ | 
              37 | 
                      [% IF ( patron.is_child ) %]$("#updatechild").click(function(){ | 
            
        
          | 38 | 
                      update_child();  | 
          38 | 
                      update_child();  | 
        
        
          | 39 | 
                      $(".btn-group").removeClass("open"); | 
          39 | 
                      $(".btn-group").removeClass("open"); | 
        
        
          | 40 | 
                  });[% END %]  | 
          40 | 
                  });[% END %]  | 
        
  
    | 
      
            Lines 92-98
          function confirm_both_deletion() {
      
      
        Link Here
      
     | 
  
        
          | 92 | 
              }  | 
          92 | 
              }  | 
        
        
          | 93 | 
          }  | 
          93 | 
          }  | 
        
        
          | 94 | 
           | 
          94 | 
           | 
        
          
            
              | 95 | 
              [% IF ( is_child ) %]function confirm_updatechild() { | 
              95 | 
              [% IF ( patron.is_child ) %]function confirm_updatechild() { | 
            
        
          | 96 | 
              var is_confirmed = window.confirm(_("Are you sure you want to update this child to an Adult category?  This cannot be undone.")); | 
          96 | 
              var is_confirmed = window.confirm(_("Are you sure you want to update this child to an Adult category?  This cannot be undone.")); | 
        
        
          | 97 | 
              if (is_confirmed) { | 
          97 | 
              if (is_confirmed) { | 
        
        
          | 98 | 
                  window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=[% patron.borrowernumber %]&catcode=[% catcode %]&catcode_multi=[% CATCODE_MULTI %]';  | 
          98 | 
                  window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=[% patron.borrowernumber %]&catcode=[% catcode %]&catcode_multi=[% CATCODE_MULTI %]';  | 
        
  
    | 
      
            Lines 197-203
          function searchToHold(){
      
      
        Link Here
      
     | 
  
        
          | 197 | 
                          [% ELSE %]  | 
          197 | 
                          [% ELSE %]  | 
        
        
          | 198 | 
                              <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to delete patrons" id="deletepatron" href="#">Delete</a></li>  | 
          198 | 
                              <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to delete patrons" id="deletepatron" href="#">Delete</a></li>  | 
        
        
          | 199 | 
                          [% END %]  | 
          199 | 
                          [% END %]  | 
        
          
            
              | 200 | 
                              [% IF ( is_child ) %]  | 
              200 | 
                              [% IF ( patron.is_child ) %]  | 
            
        
          | 201 | 
                              <li><a id="updatechild" href="#">Update child to adult patron</a></li>  | 
          201 | 
                              <li><a id="updatechild" href="#">Update child to adult patron</a></li>  | 
        
        
          | 202 | 
                          [% ELSE %]  | 
          202 | 
                          [% ELSE %]  | 
        
        
          | 203 | 
                              <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Patron is an adult" id="updatechild" href="#">Update child to adult patron</a></li>  | 
          203 | 
                              <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Patron is an adult" id="updatechild" href="#">Update child to adult patron</a></li>  |