r79218 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79217‎ | r79218 | r79219 >
Date:00:00, 30 December 2010
Author:kaldari
Status:deferred
Tags:
Comment:
removing state check for non-US forms
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumn.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumn.php
@@ -57,10 +57,6 @@
5858 if (document.getElementById('lname').value == '$last') {
5959 output += payflowproGatewayErrorMsgJs + ' last name.\\r\\n';
6060 }
61 - var stateField = document.getElementById( 'state' );
62 - if( stateField.options[stateField.selectedIndex].value == 'YY' ) {
63 - output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsgState'] + '.\\r\\n';
64 - }
6561 var countryField = document.getElementById( 'country' );
6662 if( countryField.options[countryField.selectedIndex].value == '' ) {
6763 output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsgCountry'] + '.\\r\\n';

Status & tagging log