Lines 1536-1549
Link Here
|
1536 |
// Remove potential previous input added |
1536 |
// Remove potential previous input added |
1537 |
$(current_column).find("input").remove(); |
1537 |
$(current_column).find("input").remove(); |
1538 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
1538 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
1539 |
} else if ( i == 5 || i == 6 || i == 26 || i == 27 || i == 28 ) { |
1539 |
} else if ( i == 5 || i == 6 || i == 26 || i == 27 || i == 28 || i = 31 ) { |
1540 |
// If the value is not an integer for |
1540 |
// If the value is not an integer for |
1541 |
// - "Current checkouts allowed" |
1541 |
// - "Current checkouts allowed" |
1542 |
// - "Current on-site checkouts allowed" |
1542 |
// - "Current on-site checkouts allowed" |
1543 |
// - "Holds allowed (total)" |
1543 |
// - "Holds allowed (total)" |
1544 |
// - "Holds allowed (daily)" |
1544 |
// - "Holds allowed (daily)" |
1545 |
// - "Holds per record (count)" |
1545 |
// - "Holds per record (count)" |
1546 |
// The value is "Unlimited" (or an equivalent translated string) |
1546 |
// - "Holds pickup period (days)" |
|
|
1547 |
// The value is "Unlimited" or "Default" (or an equivalent translated string) |
1547 |
// an it should be set to an empty string |
1548 |
// an it should be set to an empty string |
1548 |
if( !((parseFloat(itm_text) == parseInt(itm_text)) && !isNaN(itm_text)) ) { |
1549 |
if( !((parseFloat(itm_text) == parseInt(itm_text)) && !isNaN(itm_text)) ) { |
1549 |
$(current_column).find("input[type='text']").val(""); |
1550 |
$(current_column).find("input[type='text']").val(""); |
1550 |
- |
|
|