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

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-10 lines)
Lines 7-18 function CheckRenewCheckinBoxes() { Link Here
7
7
8
function RefreshIssuesTable() {
8
function RefreshIssuesTable() {
9
    var table = $('#issues-table').DataTable();
9
    var table = $('#issues-table').DataTable();
10
    var renewchecked = $('input[name=renew]:checked').map(function(){
11
        return this.value;
12
    }).get();
13
    var checkinchecked = $('input[name=checkin]:checked').map(function(){
14
        return this.value;
15
    }).get();
16
    table.ajax.reload( function() {
10
    table.ajax.reload( function() {
17
        CheckRenewCheckinBoxes();
11
        CheckRenewCheckinBoxes();
18
        var checkout_count = table.page.info().recordsTotal;
12
        var checkout_count = table.page.info().recordsTotal;
Lines 635-644 $(document).ready(function() { Link Here
635
            if ( refresh_table ) {
629
            if ( refresh_table ) {
636
                RefreshIssuesTable();
630
                RefreshIssuesTable();
637
            }
631
            }
638
            $('#RenewChecked, #CheckinChecked').prop('disabled' , true );
639
        });
632
        });
640
633
641
        CheckRenewCheckinBoxes();
642
        // Prevent form submit
634
        // Prevent form submit
643
        return false;
635
        return false;
644
    });
636
    });
Lines 739-745 $(document).ready(function() { Link Here
739
            if ( refresh_table ) {
731
            if ( refresh_table ) {
740
                RefreshIssuesTable();
732
                RefreshIssuesTable();
741
            }
733
            }
742
            $('#RenewChecked, #CheckinChecked').prop('disabled' , true );
743
        });
734
        });
744
735
745
        // Prevent form submit
736
        // Prevent form submit
746
- 

Return to bug 36060