Index: trunk/extensions/DonationInterface/payflowpro_gateway/form_placeholders.js |
— | — | @@ -26,10 +26,10 @@ |
27 | 27 | } |
28 | 28 | } |
29 | 29 | |
30 | | - if (document.getElementById('fname').value == '$first') { |
| 30 | + if (document.getElementById('fname').value == mw.msg( 'donate_interface-donor-fname' )) { |
31 | 31 | output += mw.msg( 'donate_interface-error-msg-js' ) + ' first name.\r\n'; |
32 | 32 | } |
33 | | - if (document.getElementById('lname').value == '$last') { |
| 33 | + if (document.getElementById('lname').value == mw.msg( 'donate_interface-donor-lname' )) { |
34 | 34 | output += mw.msg( 'donate_interface-error-msg-js' ) + ' last name.\r\n'; |
35 | 35 | } |
36 | 36 | var countryField = document.getElementById( 'country' ); |