Lines 38-43
Link Here
|
38 |
check_currency( $(this).val() ); |
38 |
check_currency( $(this).val() ); |
39 |
}); |
39 |
}); |
40 |
check_currency( $("#rate").val() ); |
40 |
check_currency( $("#rate").val() ); |
|
|
41 |
$("#currency_code").on("blur",function(){ |
42 |
toUC(this); |
43 |
}); |
41 |
}); |
44 |
}); |
42 |
//]]> |
45 |
//]]> |
43 |
</script> |
46 |
</script> |
Lines 108-114
Link Here
|
108 |
<input type="hidden" name="currency_code" id="currency" value="[% currency.currency %]" />[% currency.currency %] |
111 |
<input type="hidden" name="currency_code" id="currency" value="[% currency.currency %]" />[% currency.currency %] |
109 |
[% ELSE %] |
112 |
[% ELSE %] |
110 |
<label for="currency_code" class="required">Currency: </label> |
113 |
<label for="currency_code" class="required">Currency: </label> |
111 |
<input type="text" name="currency_code" id="currency_code" size="50" maxlength="50" onblur="toUC(this);" required="required" class="required" /> <span class="required">Required</span> |
114 |
<input type="text" name="currency_code" id="currency_code" size="50" maxlength="50" required="required" class="required" /> <span class="required">Required</span> |
112 |
[% END %] |
115 |
[% END %] |
113 |
</li> |
116 |
</li> |
114 |
<li> |
117 |
<li> |