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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt (+1 lines)
Lines 127-132 Link Here
127
            });
127
            });
128
        });
128
        });
129
    </script>
129
    </script>
130
    [% Asset.js("js/subscription-add.js") %]
130
    [% Asset.js("js/subscription.js") %]
131
    [% Asset.js("js/subscription.js") %]
131
    [% Asset.js("js/showpredictionpattern.js") %]
132
    [% Asset.js("js/showpredictionpattern.js") %]
132
[% END %]
133
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js (-2 / +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;
(-)a/koha-tmpl/intranet-tmpl/prog/js/subscription.js (-2 / +1 lines)
Lines 57-63 function testPredictionPattern() { Link Here
57
    for(i in ajaxParams) {
57
    for(i in ajaxParams) {
58
        var param = ajaxParams[i];
58
        var param = ajaxParams[i];
59
        var value = $("#"+param).val();
59
        var value = $("#"+param).val();
60
        if(value.length > 0)
60
        if(value && value.length > 0)
61
            ajaxData[param] = value;
61
            ajaxData[param] = value;
62
    }
62
    }
63
63
64
- 

Return to bug 17656