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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +3 lines)
Lines 1294-1300 Link Here
1294
                    </fieldset>
1294
                    </fieldset>
1295
                    [% IF ( CAN_user_reserveforothers_alter_hold_targets ) %]
1295
                    [% IF ( CAN_user_reserveforothers_alter_hold_targets ) %]
1296
                        <div class="btn-group">
1296
                        <div class="btn-group">
1297
                            <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>
1297
                            <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>
1298
                            <ul class="dropdown-menu" role="menu" aria-labelledby="item_record_choice" style="">
1298
                            <ul class="dropdown-menu" role="menu" aria-labelledby="item_record_choice" style="">
1299
                                <li><a class="dropdown-item move_hold_item" href="#">Item level holds to a different item</a></li>
1299
                                <li><a class="dropdown-item move_hold_item" href="#">Item level holds to a different item</a></li>
1300
                                <li><a class="dropdown-item move_hold_biblio" href="#">Record level holds to a different record</a></li>
1300
                                <li><a class="dropdown-item move_hold_biblio" href="#">Record level holds to a different record</a></li>
Lines 2093-2098 Link Here
2093
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
2093
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
2094
                $('#cancel_hold_alert').show();
2094
                $('#cancel_hold_alert').show();
2095
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
2095
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
2096
                $('#item_record_choice').prop('disabled' , count );
2096
            });
2097
            });
2097
2098
2098
            $('.holds_table .select_hold').click(function() {
2099
            $('.holds_table .select_hold').click(function() {
Lines 2104-2109 Link Here
2104
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
2105
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
2105
                $('#cancel_hold_alert').show();
2106
                $('#cancel_hold_alert').show();
2106
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
2107
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
2108
                $('#item_record_choice').prop('disabled' , count );
2107
            });
2109
            });
2108
2110
2109
            $('.move_hold_item').click(function(e) {
2111
            $('.move_hold_item').click(function(e) {
2110
- 

Return to bug 31698