http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97926
Revision: 97926
Author: pgehres
Date: 2011-09-23 16:50:18 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
Actually fixing bug fix attempted in r97925.
Modified Paths:
--------------
trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_2_3step.html
Modified:
trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_2_3step.html
===================================================================
---
trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_2_3step.html
2011-09-23 16:45:41 UTC (rev 97925)
+++
trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_2_3step.html
2011-09-23 16:50:18 UTC (rev 97926)
@@ -274,11 +274,15 @@
if( amountErrorString != ""){
$("#amountErrorMessages").html( amountErrorString );
prevError = true;
+ showStep2(); // init the headers
+ showStep3();
showStep1(); // should be default, but ensure
}
if( billingErrorString != ""){
$("#billingErrorMessages").html( billingErrorString );
if( !prevError ){
+ showStep1(); // init the headers
+ showStep3();
showStep2();
prevError = true;
}
@@ -286,8 +290,11 @@
}
if( paymentErrorString != ""){
$("#paymentErrorMessages").html( paymentErrorString );
- if( !prevError )
- showStep3();
+ if( !prevError ){
+ showStep1(); // init the headers
+ showStep2();
+ showStep3();
+ }
showAmount( $('input[name="amount"]') ); // lets go ahead
and assume there is something to show
}
@@ -350,7 +357,6 @@
showStep2();
});
$("#step3header").click(function(){
- showStep2();
showStep3();
});
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs