r77035 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77034‎ | r77035 | r77036 >
Date:21:39, 19 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
test
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/OneStepTwoColumn.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php
@@ -205,7 +205,7 @@
206206 // paypal submit button
207207 $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit-paypal' ) );
208208 $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) );
209 - $form .= Html::hidden( 'PaypalRedirect', 0 );
 209+ $form .= Html::hidden( 'PaypalRedirect', false );
210210 $form .= Xml::element( 'input', array( 'class' => 'button-plain', 'value' => wfMsg( 'payflowpro_gateway-paypal-button' ), 'onclick' => 'document.payment.PaypalRedirect.value=\'true\';return true;', 'type' => 'submit' ) );
211211 $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage
212212 $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-form-submit
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/OneStepTwoColumn.php
@@ -58,7 +58,7 @@
5959
6060 var doCheck = true;
6161 if( typeof( document.payment.PaypalRedirect.value ) !== 'undefined' ) {
62 - if( document.payment.PaypalRedirect.value ) {
 62+ if( document.payment.PaypalRedirect.value == true ) {
6363 doCheck = false;
6464 }
6565 }

Status & tagging log