Index: trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js |
— | — | @@ -61,14 +61,12 @@ |
62 | 62 | } |
63 | 63 | |
64 | 64 | // validate name |
65 | | - /* |
66 | 65 | if (document.getElementById('fname').style.color == '#999999') { |
67 | 66 | output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsg' + msg['Fname']] + '.\r\n'; |
68 | 67 | } |
69 | 68 | if (document.getElementById('lname').style.color == '#999999') { |
70 | 69 | output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsg' + msg['Lname']] + '.\r\n'; |
71 | 70 | } |
72 | | - */ |
73 | 71 | |
74 | 72 | // validate email address |
75 | 73 | var apos = document.payment.emailAdd.value.indexOf("@"); |
— | — | @@ -79,7 +77,7 @@ |
80 | 78 | } |
81 | 79 | |
82 | 80 | if( output ) { |
83 | | - alert( document.getElementById('lname').style.color ); |
| 81 | + alert( output ); |
84 | 82 | return false; |
85 | 83 | } |
86 | 84 | |