Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js |
— | — | @@ -166,7 +166,7 @@ |
167 | 167 | $( "#other-amount" ).focus( function() { |
168 | 168 | $( '#input_amount_other' ).attr( 'checked', true ); |
169 | 169 | var otherAmount = $( 'input#other-amount' ).val(); |
170 | | - if ( otherAmount && !isNaN( otherAmount ) ) { |
| 170 | + if ( otherAmount ) { |
171 | 171 | setAmount( $( 'input#other-amount' ) ); |
172 | 172 | } |
173 | 173 | } ); |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects.bt.js |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | $( "#other-amount" ).focus( function() { |
82 | 82 | $( '#input_amount_other' ).attr( 'checked', true ); |
83 | 83 | var otherAmount = $( 'input#other-amount' ).val(); |
84 | | - if ( otherAmount && !isNaN( otherAmount ) ) { |
| 84 | + if ( otherAmount ) { |
85 | 85 | setAmount( $( 'input#other-amount' ) ); |
86 | 86 | } |
87 | 87 | } ); |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects2nd.js |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | $( "#other-amount" ).focus( function() { |
116 | 116 | $( '#input_amount_other' ).attr( 'checked', true ); |
117 | 117 | var otherAmount = $( 'input#other-amount' ).val(); |
118 | | - if ( otherAmount && !isNaN( otherAmount ) ) { |
| 118 | + if ( otherAmount ) { |
119 | 119 | setAmount( $( 'input#other-amount' ) ); |
120 | 120 | } |
121 | 121 | } ); |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects2nd-US.js |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | $( "#other-amount" ).focus( function() { |
108 | 108 | $( '#input_amount_other' ).attr( 'checked', true ); |
109 | 109 | var otherAmount = $( 'input#other-amount' ).val(); |
110 | | - if ( otherAmount && !isNaN( otherAmount ) ) { |
| 110 | + if ( otherAmount ) { |
111 | 111 | setAmount( $( 'input#other-amount' ) ); |
112 | 112 | } |
113 | 113 | } ); |