Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -23,7 +23,8 @@ |
24 | 24 | $email = wfMsg( 'payflowpro_gateway-donor-email' ); |
25 | 25 | $js = <<<EOT |
26 | 26 | <script type="text/javascript"> |
27 | | -function loadPlaceholders() { |
| 27 | +//function loadPlaceholders() { |
| 28 | +window.loadPlaceholders = function() { |
28 | 29 | var fname = document.getElementById('fname'); |
29 | 30 | var lname = document.getElementById('lname'); |
30 | 31 | var street = document.getElementById('street'); |
— | — | @@ -57,7 +58,8 @@ |
58 | 59 | } |
59 | 60 | addEvent( window, 'load', loadPlaceholders ); |
60 | 61 | |
61 | | -function formCheck( ccform ) { |
| 62 | +//function formCheck( ccform ) { |
| 63 | +window.formCheck = function( ccform ) { |
62 | 64 | var msg = [ 'EmailAdd', 'Fname', 'Lname', 'Street', 'City', 'Zip', 'CardNum', 'Cvv' ]; |
63 | 65 | |
64 | 66 | var fields = ["emailAdd","fname","lname","street","city","zip","card_num","cvv" ], |