Lines 944-949
$(document).ready(function() {
Link Here
|
944 |
$('#numberpattern').change( function() { |
944 |
$('#numberpattern').change( function() { |
945 |
reset_num_pattern(); |
945 |
reset_num_pattern(); |
946 |
}); |
946 |
}); |
|
|
947 |
|
948 |
var node; |
949 |
[% FOREACH field IN dont_export_field_loop %] |
950 |
node = $("#[% field.fieldid %]"); |
951 |
if ( $(node).is('input') || $(node).is('textarea') ) { |
952 |
$(node).val(""); |
953 |
} else if ( $(node).is('select') ) { |
954 |
$(node).find("option:first").attr('selected','selected'); |
955 |
} |
956 |
[% END %] |
947 |
}); |
957 |
}); |
948 |
//]]> |
958 |
//]]> |
949 |
</script> |
959 |
</script> |
Lines 1333-1339
$(document).ready(function() {
Link Here
|
1333 |
[% IF ( subtype_numberlength ) %]<option value="numberlength" selected="selected">[% ELSE %]<option value="numberlength">[% END %] Number of issues</option> |
1343 |
[% IF ( subtype_numberlength ) %]<option value="numberlength" selected="selected">[% ELSE %]<option value="numberlength">[% END %] Number of issues</option> |
1334 |
[% IF ( subtype_weeklength ) %]<option value="weeklength" selected="selected">[% ELSE %]<option value="weeklength">[% END %] Number of weeks</option> |
1344 |
[% IF ( subtype_weeklength ) %]<option value="weeklength" selected="selected">[% ELSE %]<option value="weeklength">[% END %] Number of weeks</option> |
1335 |
</select> |
1345 |
</select> |
1336 |
<input type="text" name="sublength" value="[% sublength %]" size="3" onkeypress="return check_input(event)" /> (enter amount in numerals) |
1346 |
<input type="text" id="numberlength" name="sublength" value="[% sublength %]" size="3" onkeypress="return check_input(event)" /> (enter amount in numerals) |
1337 |
<span class="required">Required</span> |
1347 |
<span class="required">Required</span> |
1338 |
</li> |
1348 |
</li> |
1339 |
<li> |
1349 |
<li> |