MediaWiki:Resources/validation.js: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
Awight (WMF) (talk | contribs)
reject all funny punctuation, with a "valid amount" error
No edit summary
Line 55: Line 55:
$( "#input_amount_other" ).focus();
$( "#input_amount_other" ).focus();
$( "#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) ) );
error = true;
error = true;
}
}