Template:2011FR/Form-section-radiobuttons-2: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 102: | Line 102: | ||
} |
} |
||
} |
} |
||
if ( form. |
if ( form.input_amount_other_box.value != "</html>{{int:donate_interface-other}}<html>" ) { |
||
var otherAmount = form. |
var otherAmount = form.input_amount_other_box.value; |
||
otherAmount = otherAmount.replace(/[,.](\d)$/, '\:$10'); |
otherAmount = otherAmount.replace(/[,.](\d)$/, '\:$10'); |
||
otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, '\:$1$2'); |
otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, '\:$1$2'); |
||
otherAmount = otherAmount.replace(/[\$,.]/g, ''); |
otherAmount = otherAmount.replace(/[\$,.]/g, ''); |
||
otherAmount = otherAmount.replace(/:/, '.'); |
otherAmount = otherAmount.replace(/:/, '.'); |
||
form.input_amount_other_box.value = otherAmount; |
|||
form.amountGiven.value = otherAmount; |
form.amountGiven.value = otherAmount; |
||
amount = otherAmount; |
amount = otherAmount; |
Revision as of 20:12, 4 November 2011
⧼donate_interface-country-dropdown-{{{country}}}⧽ not your country?