Template:2011FR/lp-form-US7amounts: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
imported>Kaldari when there's an error in the amount, focus the other amount field |
||
Line 52: | Line 52: | ||
if ( amount < minimums[currency] || error ) { |
if ( amount < minimums[currency] || error ) { |
||
alert( '</html>{{{validation-error-minimum|You must contribute at least $1}}}<html>'.replace('$1', minimums[currency] + ' ' + currency ) ); |
alert( '</html>{{{validation-error-minimum|You must contribute at least $1}}}<html>'.replace('$1', minimums[currency] + ' ' + currency ) ); |
||
$( "input[name='amountGiven']" ).val( '' ); |
|||
$( "input[name='amountGiven']" ).focus(); |
|||
error = true; |
error = true; |
||
} |
} |
Revision as of 19:12, 18 November 2011