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

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-1 / +5 lines)
Lines 739-744 $(document).ready(function() { Link Here
739
        }
739
        }
740
740
741
        let item_ids = $(".renew:checked:visible").map((i, c) => c.value);
741
        let item_ids = $(".renew:checked:visible").map((i, c) => c.value);
742
        if ( item_ids.length == 0 ) {
743
            // Skip if no items to renew otherwise we will die in .then below
744
            alert( __("There is no items to renew.") );
745
            return false;
746
        }
742
747
743
        renew_all(item_ids, renew).then(() => {
748
        renew_all(item_ids, renew).then(() => {
744
            // Refocus on barcode field if it exists
749
            // Refocus on barcode field if it exists
745
- 

Return to bug 37880