https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101996

Revision: 101996
Author:   pgehres
Date:     2011-11-04 14:58:38 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
Un-hardcoding country in rapidhtml cc validation

Modified Paths:
--------------
    
trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
    
trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/webitects_2_3step.js

Modified: 
trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
===================================================================
--- 
trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
      2011-11-04 14:50:05 UTC (rev 101995)
+++ 
trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
      2011-11-04 14:58:38 UTC (rev 101996)
@@ -102,9 +102,6 @@
        } );
 
        $( "#submitcreditcard" ).click( function() {
-               // set country to US TODO: make this dynamic
-               $( 'input[name="country"]' ).val( "US" );
-
                if ( validate_cc() ) {
                        // set the hidden expiration date input from the two 
selects
                        $( 'input[name="expiration"]' ).val(

Modified: 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/webitects_2_3step.js
===================================================================
--- 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/webitects_2_3step.js
 2011-11-04 14:50:05 UTC (rev 101995)
+++ 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/webitects_2_3step.js
 2011-11-04 14:58:38 UTC (rev 101996)
@@ -92,9 +92,6 @@
        } );
 
        $( "#submitcreditcard" ).click( function() {
-               // set country to US TODO: make this dynamic
-               $( 'input[name="country"]' ).val( "US" );
-
                if ( validate_cc() ) {
                        // set the hidden expiration date input from the two 
selects
                        $( 'input[name="expiration"]' ).val(


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to