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

(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-2 / +1 lines)
Lines 202-208 $(document).ready(function() { Link Here
202
                    var res_id = $(this).attr('reserve_id');
202
                    var res_id = $(this).attr('reserve_id');
203
                    $(this).after('<div id="updating_reserveno'+res_id+'" class="waiting"><img src="/intranet-tmpl/prog/img/spinner-small.gif" alt="" /><span class="waiting_msg"></span></div>');
203
                    $(this).after('<div id="updating_reserveno'+res_id+'" class="waiting"><img src="/intranet-tmpl/prog/img/spinner-small.gif" alt="" /><span class="waiting_msg"></span></div>');
204
                    var api_url = '/api/v1/holds/'+res_id;
204
                    var api_url = '/api/v1/holds/'+res_id;
205
                    var update_info = JSON.stringify({ branchcode: $(this).val(), priority: parseInt($(this).attr("priority"),10) });
205
                    var update_info = JSON.stringify({ pickup_library_id: $(this).val(), priority: parseInt($(this).attr("priority"),10) });
206
                    $.ajax({
206
                    $.ajax({
207
                        method: "PUT",
207
                        method: "PUT",
208
                        url: api_url,
208
                        url: api_url,
209
- 

Return to bug 20006