Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/TwoStepTwoColumnLetter3.js |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | |
44 | 44 | $( "#ccSubmitButton" ).click( function() { |
45 | 45 | // Safety check for people who hit the back button on forms with amount radio buttons |
46 | | - if ( $( "input[name='amountRadio']" ).length { |
| 46 | + if ( $( "input[name='amountRadio']" ).length ) { |
47 | 47 | checkedValue = $( "input[name='amountRadio']:checked" ).val(); |
48 | 48 | currentAmount = $( 'input[name="amount"]' ).val(); |
49 | 49 | // The currenctAmount could be set to empty string or '0.00' |