Template:Form-template/Form-template-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 167: Line 167:
$( "#input_amount_other" ).focus();
$( "#input_amount_other" ).focus();
$( "#input_amount_other_box" ).focus();
$( "#input_amount_other_box" ).focus();
errorMessageLarge = '</html>{{int:Donate interface-bigamount-error}}<html>');
//errorMessageLarge = '</html>{{int:Donate interface-bigamount-error}}<html>');
errorMessageLarge = errorMessageLarge.replace('$1',minimums[currency]);
//errorMessageLarge = errorMessageLarge.replace('$1',minimums[currency]);
errorMessageLarge = errorMessageLarge.replace('$2',currency);
//errorMessageLarge = errorMessageLarge.replace('$2',currency);
errorMessageLarge = errorMessageLarge.replace('$3','giving@wikimedia.org);
//errorMessageLarge = errorMessageLarge.replace('$3','giving@wikimedia.org);
alert(errorMessageLarge);
//alert(errorMessageLarge);
//alert('We can not accept donations greater than USD 10,000 (' + 10000*minimums[currency] + ' ' + currency + ') through our website.\nPlease contact our major gifts staff at giving@wikimedia.org.');
alert('We can not accept donations greater than USD 10,000 (' + 10000*minimums[currency] + ' ' + currency + ') through our website.\nPlease contact our major gifts staff at giving@wikimedia.org.');
error = true;
error = true;
}
}

Revision as of 19:25, 1 February 2012