Index: branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepAmount.php |
— | — | @@ -28,12 +28,12 @@ |
29 | 29 | |
30 | 30 | $form_data['transaction_type'] = 'BANK_TRANSFER'; |
31 | 31 | $form_data['process'] = 'BANK_TRANSFER'; |
32 | | - parent::__construct( $form_data, $form_errors, $gateway ); |
33 | 32 | |
34 | 33 | // we only want to load this JS if the form is being rendered |
35 | 34 | $this->loadValidateJs(); // validation JS |
36 | 35 | |
37 | 36 | $this->loadPlaceholders(); |
| 37 | + parent::__construct( $form_data, $form_errors, $gateway ); |
38 | 38 | } |
39 | 39 | |
40 | 40 | public function loadPlaceholders() { |
— | — | @@ -152,8 +152,6 @@ |
153 | 153 | $form .= $this->generateFormSubmit(); |
154 | 154 | $form .= Xml::closeElement( 'div' ); // close div#left-column |
155 | 155 | |
156 | | - //$form .= Xml::openElement( 'div', array( 'id' => 'right-column', 'class' => 'payflow-cc-form-section' ) ); |
157 | | - |
158 | 156 | return $form; |
159 | 157 | } |
160 | 158 | |
— | — | @@ -179,9 +177,6 @@ |
180 | 178 | $form .= Html::hidden( $field, $value ); |
181 | 179 | } |
182 | 180 | |
183 | | - $value = 'BANK_TRANSFER'; |
184 | | - //$form .= Html::hidden( $field, $value ); |
185 | | - //$form .= Xml::closeElement( 'div' ); // close div#right-column |
186 | 181 | $form .= Xml::closeElement( 'form' ); |
187 | 182 | $form .= Xml::closeElement( 'div' ); // close div#mw-creditcard-form |
188 | 183 | $form .= $this->generateDonationFooter(); |