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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-3 / +3 lines)
Lines 28-36 $(document).ready(function() { Link Here
28
    for ( j=0 ; j<cD.length ; j++ ) {
28
    for ( j=0 ; j<cD.length ; j++ ) {
29
        var split_array = cD[j].split(/<br>/gi);
29
        var split_array = cD[j].split(/<br>/gi);
30
        for ( k=0 ; k<split_array.length ; k++ ){
30
        for ( k=0 ; k<split_array.length ; k++ ){
31
            var check_array = $.inArray(split_array[k], new_array);
31
            var str = $.trim(split_array[k].replace(/[\n\r]/g, ''));
32
            var check_array = $.inArray(str, new_array);
32
            if (check_array == -1) {
33
            if (check_array == -1) {
33
                new_array.push(split_array[k]);
34
                new_array.push(str);
34
            }
35
            }
35
        }
36
        }
36
    }
37
    }
37
- 

Return to bug 15832