Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter6.php |
— | — | @@ -222,7 +222,7 @@ |
223 | 223 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit-paypal' ) ); |
224 | 224 | } |
225 | 225 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
226 | | - $form .= Html::hidden( 'PaypalRedirect', 0 ); |
| 226 | + $form .= Html::hidden( 'PaypalRedirect', false ); |
227 | 227 | $form .= Xml::element( 'input', array( 'class' => 'button-plain', 'value' => wfMsg( 'payflowpro_gateway-donor-submit' ), 'onclick' => 'document.payment.PaypalRedirect.value=\'true\';return true;', 'type' => 'submit' ) ); |
228 | 228 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage |
229 | 229 | $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 == true ) { |
| 62 | + if( document.payment.PaypalRedirect.value == 'true' ) { |
63 | 63 | doCheck = false; |
64 | 64 | } |
65 | 65 | } |