Lines 1041-1047
Link Here
|
1041 |
</div> |
1041 |
</div> |
1042 |
|
1042 |
|
1043 |
<div class="modal-body"> |
1043 |
<div class="modal-body"> |
1044 |
<p>Are you sure you want to cancel this hold?</p> |
1044 |
<p id="cancellation-text"></p> |
1045 |
|
1045 |
|
1046 |
<fieldset class="action"> |
1046 |
<fieldset class="action"> |
1047 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
1047 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
Lines 1531-1536
Link Here
|
1531 |
let cancel_link; |
1531 |
let cancel_link; |
1532 |
$(".cancel-hold").on("click",function(e) { |
1532 |
$(".cancel-hold").on("click",function(e) { |
1533 |
e.preventDefault; |
1533 |
e.preventDefault; |
|
|
1534 |
let borrower_name = $(this).data('borrower-name')?.trim(); |
1535 |
let biblio_title = $(this).data('biblio-title')?.trim(); |
1536 |
|
1537 |
let cancellation_text = _(`Are you sure you want to cancel hold on "${biblio_title}" for "${borrower_name}"?`); |
1538 |
$("#cancellation-text").html(cancellation_text); |
1539 |
|
1534 |
cancel_link = $(this); |
1540 |
cancel_link = $(this); |
1535 |
$('#cancelModal').modal(); |
1541 |
$('#cancelModal').modal(); |
1536 |
return false; |
1542 |
return false; |