View | Details | Raw Unified | Return to bug 18729
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-2 / +1 lines)
Lines 228-234 $(document).ready(function() { Link Here
228
                    $.ajax({
228
                    $.ajax({
229
                        method: "PUT",
229
                        method: "PUT",
230
                        url: api_url,
230
                        url: api_url,
231
                        data: $(this).val(),
231
                        data: JSON.stringify({ "pickup_library_id": $(this).val() }),
232
                        success: function( data ){ holdsTable.api().ajax.reload(); },
232
                        success: function( data ){ holdsTable.api().ajax.reload(); },
233
                        error: function( jqXHR, textStatus, errorThrown) {
233
                        error: function( jqXHR, textStatus, errorThrown) {
234
                            alert('There was an error:'+textStatus+" "+errorThrown);
234
                            alert('There was an error:'+textStatus+" "+errorThrown);
235
- 

Return to bug 18729