Lines 1237-1243
Link Here
|
1237 |
</fieldset> |
1237 |
</fieldset> |
1238 |
[% IF ( CAN_user_reserveforothers_alter_hold_targets ) %] |
1238 |
[% IF ( CAN_user_reserveforothers_alter_hold_targets ) %] |
1239 |
<div class="btn-group"> |
1239 |
<div class="btn-group"> |
1240 |
<a class="btn btn-default btn-xs dropdown-toggle move_selected_holds" id="item_record_choice" role="button" data-bs-toggle="dropdown" href="#" aria-expanded="false"></a> |
1240 |
<a class="btn dropdown-toggle move_selected_holds" id="item_record_choice" role="button" data-bs-toggle="dropdown" href="#" aria-expanded="false" disabled="disabled"></a> |
1241 |
<ul class="dropdown-menu" role="menu" aria-labelledby="item_record_choice" style=""> |
1241 |
<ul class="dropdown-menu" role="menu" aria-labelledby="item_record_choice" style=""> |
1242 |
<li><a class="dropdown-item move_hold_item" href="#">Item level holds to a different item</a></li> |
1242 |
<li><a class="dropdown-item move_hold_item" href="#">Item level holds to a different item</a></li> |
1243 |
<li><a class="dropdown-item move_hold_biblio" href="#">Record level holds to a different record</a></li> |
1243 |
<li><a class="dropdown-item move_hold_biblio" href="#">Record level holds to a different record</a></li> |
Lines 2033-2038
Link Here
|
2033 |
$('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length)); |
2033 |
$('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length)); |
2034 |
$('#cancel_hold_alert').show(); |
2034 |
$('#cancel_hold_alert').show(); |
2035 |
localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')); |
2035 |
localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')); |
|
|
2036 |
$('#item_record_choice').prop('disabled' , count ); |
2036 |
}); |
2037 |
}); |
2037 |
|
2038 |
|
2038 |
$('.holds_table .select_hold').click(function() { |
2039 |
$('.holds_table .select_hold').click(function() { |
Lines 2043-2048
Link Here
|
2043 |
$('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length)); |
2044 |
$('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length)); |
2044 |
$('#cancel_hold_alert').show(); |
2045 |
$('#cancel_hold_alert').show(); |
2045 |
localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')); |
2046 |
localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')); |
|
|
2047 |
$('#item_record_choice').prop('disabled' , count ); |
2046 |
}); |
2048 |
}); |
2047 |
|
2049 |
|
2048 |
$('.move_hold_item').click(function(e) { |
2050 |
$('.move_hold_item').click(function(e) { |
2049 |
- |
|
|