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

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

Return to bug 15832