r101996 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101995‎ | r101996 | r101997 >
Date:14:58, 4 November 2011
Author:pgehres
Status:ok
Tags:
Comment:
Un-hardcoding country in rapidhtml cc validation
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/webitects_2_3step.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/webitects_2_3step.js
@@ -92,9 +92,6 @@
9393 } );
9494
9595 $( "#submitcreditcard" ).click( function() {
96 - // set country to US TODO: make this dynamic
97 - $( 'input[name="country"]' ).val( "US" );
98 -
9996 if ( validate_cc() ) {
10097 // set the hidden expiration date input from the two selects
10198 $( 'input[name="expiration"]' ).val(
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
@@ -102,9 +102,6 @@
103103 } );
104104
105105 $( "#submitcreditcard" ).click( function() {
106 - // set country to US TODO: make this dynamic
107 - $( 'input[name="country"]' ).val( "US" );
108 -
109106 if ( validate_cc() ) {
110107 // set the hidden expiration date input from the two selects
111108 $( 'input[name="expiration"]' ).val(

Follow-up revisions

RevisionCommit summaryAuthorDate
r101999MFT r101996awjrichards15:16, 4 November 2011

Status & tagging log