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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-1 / +7 lines)
Lines 56-61 $(document).ready(function() { Link Here
56
                        // Remove potential previous input added
56
                        // Remove potential previous input added
57
                        $(current_column).find("input").remove();
57
                        $(current_column).find("input").remove();
58
                        $(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />");
58
                        $(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />");
59
                    } else if ( i == 2 ) {
60
                        // If the value is not an integer for "Current checkouts allowed"
61
                        // The value is "Unlimited" (or an equivalent translated string)
62
                        // an it should be set to an empty string
63
                        if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) {
64
                            $(current_column).find("input[type='text']").val("");
65
                        }
59
                    }
66
                    }
60
                } else {
67
                } else {
61
                    // specific processing for the Hard due date column
68
                    // specific processing for the Hard due date column
62
- 

Return to bug 4354