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 90: Line 90:
}
}
}
}

//if ( form.input_amount_other_box.value != "</html>{{int:donate_interface-other}}<html>" ) {
if ( form.input_amount_other_box.value != "" ) {
if ( form.input_amount_other_box.value != "" ) {
var otherAmount = form.input_amount_other_box.value;
var otherAmount = form.input_amount_other_box.value;
Line 114: Line 114:
$( "#input_amount_other_box" ).focus();
$( "#input_amount_other_box" ).focus();
alert( '</html>{{int:donate_interface-smallamount-error}}<html>'.replace('$1', (minimums[currency] + ' ' + currency) ) );
alert( '</html>{{int:donate_interface-smallamount-error}}<html>'.replace('$1', (minimums[currency] + ' ' + currency) ) );
//alert( '</html>{{int:donate_interface-error-msg-invalid-amount}}<html>');
error = true;
error = true;
}
}
Line 126: Line 125:
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.');
error = true;
error = true;
}
}

Revision as of 16:01, 3 February 2012