MediaWiki:DonationForm T201415.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
rm amountGiven usage |
||
Line 668: | Line 668: | ||
function selectAmount() { |
function selectAmount() { |
||
$('#input_amount_other_box').val(''); |
$('#input_amount_other_box').val(''); |
||
$('input[name="amountGiven"]').val(''); |
|||
} |
} |
||
Line 856: | Line 855: | ||
otherAmount = otherAmount.replace(/[\$£€¥,.]/g, ''); |
otherAmount = otherAmount.replace(/[\$£€¥,.]/g, ''); |
||
otherAmount = otherAmount.replace(/:/, '.'); |
otherAmount = otherAmount.replace(/:/, '.'); |
||
form.amountGiven.value = otherAmount; // TODO: change this |
|||
amount = otherAmount; |
amount = otherAmount; |
||
donationForm.extraData.otherAmt = 1; |
donationForm.extraData.otherAmt = 1; |