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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +3 lines)
Lines 1280-1286 Link Here
1280
1280
1281
                <div class="modal-body">
1281
                <div class="modal-body">
1282
                    <p>Are you sure you want to cancel this hold?</p>
1282
                    <p>Are you sure you want to cancel this hold?</p>
1283
                    <div id="cancel_hold_alert" class="alert alert-danger"></div>
1283
                    <div id="cancel_hold_alert" class="alert alert-danger" style="display:none;"></div>
1284
                    <fieldset class="action">
1284
                    <fieldset class="action">
1285
                        [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
1285
                        [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
1286
                        [% IF hold_cancellation.count %]
1286
                        [% IF hold_cancellation.count %]
Lines 1728-1733 Link Here
1728
                $(this).prop('checked', !count);
1728
                $(this).prop('checked', !count);
1729
                $('.cancel_selected_holds').html(MSG_CANCEL_SELECTED.format($('.holds_table .select_hold:checked').length));
1729
                $('.cancel_selected_holds').html(MSG_CANCEL_SELECTED.format($('.holds_table .select_hold:checked').length));
1730
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
1730
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
1731
                $('#cancel_hold_alert').show();
1731
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
1732
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
1732
            });
1733
            });
1733
1734
Lines 1737-1742 Link Here
1737
                $('.select_hold_all', table).prop('checked', !count);
1738
                $('.select_hold_all', table).prop('checked', !count);
1738
                $('.cancel_selected_holds').html(MSG_CANCEL_SELECTED.format($('.holds_table .select_hold:checked').length));
1739
                $('.cancel_selected_holds').html(MSG_CANCEL_SELECTED.format($('.holds_table .select_hold:checked').length));
1739
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
1740
                $('#cancel_hold_alert').html( MSG_CANCEL_ALERT.format($('.holds_table .select_hold:checked').length));
1741
                $('#cancel_hold_alert').show();
1740
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
1742
                localStorage.selectedHolds = $('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id'));
1741
            });
1743
            });
1742
1744
1743
- 

Return to bug 36701