r75130 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75129‎ | r75130 | r75131 >
Date:23:56, 20 October 2010
Author:nimishg
Status:deferred
Tags:
Comment:
added JS hooks and OWA ifdef
Modified paths:
  • /branches/fundraising/OWA/DonationInterface/DonationInterface/payflowpro_gateway/forms/OneStepTwoColumn.php (modified) (history)
  • /branches/fundraising/OWA/DonationInterface/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumn.php (modified) (history)

Diff [purge]

Index: branches/fundraising/OWA/DonationInterface/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumn.php
@@ -9,7 +9,11 @@
1010
1111 // we only want to load this JS if the form is being rendered
1212 $this->loadValidateJs(); // validation JS
13 -
 13+
 14+ if(defined(OWA)){
 15+ $this->loadOwaJs();
 16+ }
 17+
1418 $first = wfMsg( 'payflowpro_gateway-first' );
1519 $last = wfMsg( 'payflowpro_gateway-last' );
1620 $js = <<<EOT
Index: branches/fundraising/OWA/DonationInterface/DonationInterface/payflowpro_gateway/forms/OneStepTwoColumn.php
@@ -15,6 +15,10 @@
1616 $this->loadValidateJs(); // validation JS
1717
1818 $this->loadApiJs(); // API/Ajax JS
 19+
 20+ if(defined(OWA)){
 21+ $this->loadOwaJs();
 22+ }
1923 }
2024
2125 /**

Status & tagging log