Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All good :)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
// Remove potential previous input added
$(current_column).find("input").remove();
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />");
+ } else if ( i == 2 ) {
+ // If the value is not an integer for "Current checkouts allowed"
+ // The value is "Unlimited" (or an equivalent translated string)
+ // an it should be set to an empty string
+ if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) {
+ $(current_column).find("input[type='text']").val("");
+ }
}
} else {
// specific processing for the Hard due date column