Index: branches/fundraising/OWA/DonationInterface/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumn.php |
— | — | @@ -9,7 +9,11 @@ |
10 | 10 | |
11 | 11 | // we only want to load this JS if the form is being rendered |
12 | 12 | $this->loadValidateJs(); // validation JS |
13 | | - |
| 13 | + |
| 14 | + if(defined(OWA)){ |
| 15 | + $this->loadOwaJs(); |
| 16 | + } |
| 17 | + |
14 | 18 | $first = wfMsg( 'payflowpro_gateway-first' ); |
15 | 19 | $last = wfMsg( 'payflowpro_gateway-last' ); |
16 | 20 | $js = <<<EOT |
Index: branches/fundraising/OWA/DonationInterface/DonationInterface/payflowpro_gateway/forms/OneStepTwoColumn.php |
— | — | @@ -15,6 +15,10 @@ |
16 | 16 | $this->loadValidateJs(); // validation JS |
17 | 17 | |
18 | 18 | $this->loadApiJs(); // API/Ajax JS |
| 19 | + |
| 20 | + if(defined(OWA)){ |
| 21 | + $this->loadOwaJs(); |
| 22 | + } |
19 | 23 | } |
20 | 24 | |
21 | 25 | /** |