Lines 431-441
$(document).ready(function() {
Link Here
|
431 |
$(".toggle-suspend").on('click', function(e) { |
431 |
$(".toggle-suspend").on('click', function(e) { |
432 |
e.preventDefault(); |
432 |
e.preventDefault(); |
433 |
let reserve_id = $(this).data('reserve-id'); |
433 |
let reserve_id = $(this).data('reserve-id'); |
434 |
let borrowernumber = $(this).data('borrowernumber'); |
|
|
435 |
let biblionumber = $(this).data('biblionumber'); |
434 |
let biblionumber = $(this).data('biblionumber'); |
436 |
let date = $(this).data('date'); |
|
|
437 |
let suspend_until = $('#suspend_until_' + reserve_id).val(); |
435 |
let suspend_until = $('#suspend_until_' + reserve_id).val(); |
438 |
window.location.href='request.pl?action=toggleSuspend&reserve_id=' + reserve_id + '&borrowernumber=' + borrowernumber + '&biblionumber=' + biblionumber + '&date=' + date + '&suspend_until=' + suspend_until; |
436 |
window.location.href='request.pl?action=toggleSuspend&reserve_id=' + reserve_id + '&biblionumber=' + biblionumber + '&suspend_until=' + suspend_until; |
439 |
return false; |
437 |
return false; |
440 |
}); |
438 |
}); |
441 |
}); |
439 |
}); |
442 |
- |
|
|