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

(-)a/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js (-3 / +1 lines)
Lines 2-15 function Check_boxes(dow) { Link Here
2
    if($(":checkbox[data-dow='"+dow+"']:first").is(':checked')) {
2
    if($(":checkbox[data-dow='"+dow+"']:first").is(':checked')) {
3
        $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){
3
        $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){
4
            $(this).prop('checked', true);
4
            $(this).prop('checked', true);
5
            return false;
6
        });
5
        });
7
    } else {
6
    } else {
8
        $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){
7
        $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){
9
            $(this).prop('checked', false);
8
            $(this).prop('checked', false);
10
            return false;
11
        });
9
        });
12
    }
10
    }
11
    return false;
13
}
12
}
14
function Check_permanent_irregularities() {
13
function Check_permanent_irregularities() {
15
    nothing_checked = 1;
14
    nothing_checked = 1;
16
- 

Return to bug 17656