Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_2_3step.html |
— | — | @@ -274,11 +274,15 @@ |
275 | 275 | if( amountErrorString != ""){ |
276 | 276 | $("#amountErrorMessages").html( amountErrorString ); |
277 | 277 | prevError = true; |
| 278 | + showStep2(); // init the headers |
| 279 | + showStep3(); |
278 | 280 | showStep1(); // should be default, but ensure |
279 | 281 | } |
280 | 282 | if( billingErrorString != ""){ |
281 | 283 | $("#billingErrorMessages").html( billingErrorString ); |
282 | 284 | if( !prevError ){ |
| 285 | + showStep1(); // init the headers |
| 286 | + showStep3(); |
283 | 287 | showStep2(); |
284 | 288 | prevError = true; |
285 | 289 | } |
— | — | @@ -286,8 +290,11 @@ |
287 | 291 | } |
288 | 292 | if( paymentErrorString != ""){ |
289 | 293 | $("#paymentErrorMessages").html( paymentErrorString ); |
290 | | - if( !prevError ) |
291 | | - showStep3(); |
| 294 | + if( !prevError ){ |
| 295 | + showStep1(); // init the headers |
| 296 | + showStep2(); |
| 297 | + showStep3(); |
| 298 | + } |
292 | 299 | showAmount( $('input[name="amount"]') ); // lets go ahead and assume there is something to show |
293 | 300 | } |
294 | 301 | |
— | — | @@ -350,7 +357,6 @@ |
351 | 358 | showStep2(); |
352 | 359 | }); |
353 | 360 | $("#step3header").click(function(){ |
354 | | - showStep2(); |
355 | 361 | showStep3(); |
356 | 362 | }); |
357 | 363 | |