Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php |
— | — | @@ -205,7 +205,7 @@ |
206 | 206 | // paypal submit button |
207 | 207 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit-paypal' ) ); |
208 | 208 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
209 | | - $form .= Html::hidden( 'PaypalRedirect', 0 ); |
| 209 | + $form .= Html::hidden( 'PaypalRedirect', false ); |
210 | 210 | $form .= Xml::element( 'input', array( 'class' => 'button-plain', 'value' => wfMsg( 'payflowpro_gateway-paypal-button' ), 'onclick' => 'document.payment.PaypalRedirect.value=\'true\';return true;', 'type' => 'submit' ) ); |
211 | 211 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage |
212 | 212 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-form-submit |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/OneStepTwoColumn.php |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | |
60 | 60 | var doCheck = true; |
61 | 61 | if( typeof( document.payment.PaypalRedirect.value ) !== 'undefined' ) { |
62 | | - if( document.payment.PaypalRedirect.value ) { |
| 62 | + if( document.payment.PaypalRedirect.value == true ) { |
63 | 63 | doCheck = false; |
64 | 64 | } |
65 | 65 | } |