|
Lines 262-268
Link Here
|
| 262 |
<span>Unlimited</span> |
262 |
<span>Unlimited</span> |
| 263 |
[% END %] |
263 |
[% END %] |
| 264 |
</td> |
264 |
</td> |
| 265 |
<td>[% holds_per_record | html %]</td> |
265 |
<td> |
|
|
266 |
[% IF holds_per_record.defined && holds_per_record != '' %] |
| 267 |
[% holds_per_record | html %] |
| 268 |
[% ELSE %] |
| 269 |
<span>Unlimited</span> |
| 270 |
[% END %] |
| 271 |
</td> |
| 266 |
<td> |
272 |
<td> |
| 267 |
[% IF onshelfholds == 1 %] |
273 |
[% IF onshelfholds == 1 %] |
| 268 |
<span>Yes</span> |
274 |
<span>Yes</span> |
|
Lines 1016-1026
Link Here
|
| 1016 |
// Remove potential previous input added |
1022 |
// Remove potential previous input added |
| 1017 |
$(current_column).find("input").remove(); |
1023 |
$(current_column).find("input").remove(); |
| 1018 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
1024 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
| 1019 |
} else if ( i == 4 || i == 5 || i == 25 ) { |
1025 |
} else if ( i == 4 || i == 5 || i == 24 || i == 25 || i == 26 ) { |
| 1020 |
// If the value is not an integer for |
1026 |
// If the value is not an integer for |
| 1021 |
// - "Current checkouts allowed" |
1027 |
// - "Current checkouts allowed" |
| 1022 |
// - "Current on-site checkouts allowed" |
1028 |
// - "Current on-site checkouts allowed" |
|
|
1029 |
// - "Holds allowed (total)" |
| 1023 |
// - "Holds allowed (daily)" |
1030 |
// - "Holds allowed (daily)" |
|
|
1031 |
// - "Holds per record (count)" |
| 1024 |
// The value is "Unlimited" (or an equivalent translated string) |
1032 |
// The value is "Unlimited" (or an equivalent translated string) |
| 1025 |
// an it should be set to an empty string |
1033 |
// an it should be set to an empty string |
| 1026 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
1034 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
| 1027 |
- |
|
|