Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -8,8 +8,18 @@ |
9 | 9 | if ( !strlen( $this->getStylePath() ) ) { |
10 | 10 | $this->setStylePath( $wgExtensionAssetsPath . '/DonationInterface/gateway_forms/css/TwoStepTwoColumnLetter3.css' ); |
11 | 11 | } |
| 12 | + $this->loadvalidateJs(); |
12 | 13 | parent::__construct( $gateway, $form_errors ); |
13 | 14 | } |
| 15 | + |
| 16 | + /** |
| 17 | + * Load resources required by this form |
| 18 | + * |
| 19 | + * @see parent::loadResources() |
| 20 | + */ |
| 21 | + public function loadResources() { |
| 22 | + $this->loadValidateJs(); |
| 23 | + } |
14 | 24 | |
15 | 25 | public function loadPlaceholders() { |
16 | 26 | global $wgOut; |