Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects.js |
— | — | @@ -10,10 +10,10 @@ |
11 | 11 | language = matches[1]; |
12 | 12 | } |
13 | 13 | |
14 | | - var currencyField = document.getElementById( 'currency' ); |
| 14 | + var currencyField = document.getElementById( 'input_currency_code' ); |
15 | 15 | var currency = ''; |
16 | 16 | if ( currencyField && currencyField.type == 'select-one' ) { // currency is a dropdown select |
17 | | - currency = $( 'select#currency option:selected' ).val(); |
| 17 | + currency = $( 'select#input_currency_code option:selected' ).val(); |
18 | 18 | } else { |
19 | 19 | currency = $( "input[name='currency_code']" ).val(); |
20 | 20 | } |