MediaWiki:DonationForm.js: Difference between revisions

Content deleted Content added
only skip amount validation for paypal USD, still validate opt-in
increase max USD amount to 12000
Line 217:
 
$('.lp-error-bigamount').text( function( index, oldText ) {
return oldText.replace( '$1', 1000012000 * minAmount )
.replace( '$2', currency )
.replace( '$3', 'benefactors@wikimedia.org' );
Line 762:
$('.lp-error-smallamount').show();
return false;
} else if ( amount > 1000012000 * minAmount ) {
$('.amount-options').addClass('lp-haserror');
$('.lp-error-bigamount').show();