| Lines 229-234
          $(document).ready(function() {
      
      
        Link Here | 
        
          | 229 |                         method: "PUT", | 229 |                         method: "PUT", | 
        
          | 230 |                         url: api_url, | 230 |                         url: api_url, | 
        
          | 231 |                         data: JSON.stringify({ "pickup_library_id": $(this).val() }), | 231 |                         data: JSON.stringify({ "pickup_library_id": $(this).val() }), | 
            
              |  |  | 232 |                         headers: { "x-koha-override": "any" }, | 
        
          | 232 |                         success: function( data ){ holdsTable.api().ajax.reload(); }, | 233 |                         success: function( data ){ holdsTable.api().ajax.reload(); }, | 
        
          | 233 |                         error: function( jqXHR, textStatus, errorThrown) { | 234 |                         error: function( jqXHR, textStatus, errorThrown) { | 
        
          | 234 |                             alert('There was an error:'+textStatus+" "+errorThrown); | 235 |                             alert('There was an error:'+textStatus+" "+errorThrown); | 
            
              | 235 | -  |  |  |