X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-payment_options.html;h=a59963a91581faa8a57f58fe277b4e2d6fdbdd9b;hb=a8d1e0ab1d47170d29f847bcbb790a58c6eb435d;hp=15f92775a4dc35f41a4e3cb6e8231c6b4a83dacb;hpb=88371c24e0b727646f0b01288f01439a06967fe7;p=freeside.git diff --git a/httemplate/elements/tr-select-payment_options.html b/httemplate/elements/tr-select-payment_options.html index 15f92775a..a59963a91 100644 --- a/httemplate/elements/tr-select-payment_options.html +++ b/httemplate/elements/tr-select-payment_options.html @@ -91,6 +91,7 @@ Example: document.getElementById('invoice_row').style.display = 'none'; document.getElementById('<% $opt{prefix} %>invoice').value = 'select'; document.getElementById('amount').value = amount.toFixed(2); + document.getElementById('amount').disabled = false; if (document.getElementById('ajax_surcharge_cell')) { document.getElementById('ajax_surcharge_cell').innerHTML = 'A credit card surcharge of <% $money_char %>' + surcharge.toFixed(2) + ' is included in this payment'; } @@ -115,6 +116,7 @@ Example: else { document.getElementById('payment_amount_row').style.display = 'block'; document.getElementById('amount').value = amount.toFixed(2); + document.getElementById('amount').disabled = false; if (document.getElementById('ajax_surcharge_cell')) { document.getElementById('ajax_surcharge_cell').innerHTML = 'A credit card surcharge of <% $money_char %>' + surcharge.toFixed(2) + ' is included in this payment'; }