Index: trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js |
— | — | @@ -61,8 +61,9 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | var stateField = document.getElementById( 'state' ); |
| 65 | + var selectedState = stateField.options[stateField.selectedIndex].value; |
65 | 66 | var countryField = document.getElementById( 'country' ); |
66 | | - if( stateField.options[stateField.selectedIndex].value == 'YY' ) { |
| 67 | + if( selectedState == 'YY' || selectedState == '' ) { |
67 | 68 | output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + mw.msg( 'donate_interface-error-msg-state' ) + '.\r\n'; |
68 | 69 | } |
69 | 70 | |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/html/webitects_2_3step.html |
— | — | @@ -37,7 +37,6 @@ |
38 | 38 | } |
39 | 39 | #amount-table-white label { font-size: 1.1em; } |
40 | 40 | |
41 | | - #donate-body { width: 348px; } |
42 | 41 | #donate-body h3 { font-size: 17px; } |
43 | 42 | |
44 | 43 | #step1wrapper, #step2wrapper, #step3wrapper { width: 325px; } |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/webitects_2_3step.html |
— | — | @@ -35,7 +35,6 @@ |
36 | 36 | } |
37 | 37 | #amount-table-white label { font-size: 1.1em; } |
38 | 38 | |
39 | | - #donate-body { width: 348px; } |
40 | 39 | #donate-body h3 { font-size: 17px; } |
41 | 40 | |
42 | 41 | #step1wrapper, #step2wrapper, #step3wrapper { width: 325px; } |