r76756 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76755‎ | r76756 | r76757 >
Date:01:41, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
form
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js
@@ -61,14 +61,12 @@
6262 }
6363
6464 // validate name
65 - /*
6665 if (document.getElementById('fname').style.color == '#999999') {
6766 output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsg' + msg['Fname']] + '.\r\n';
6867 }
6968 if (document.getElementById('lname').style.color == '#999999') {
7069 output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsg' + msg['Lname']] + '.\r\n';
7170 }
72 - */
7371
7472 // validate email address
7573 var apos = document.payment.emailAdd.value.indexOf("@");
@@ -79,7 +77,7 @@
8078 }
8179
8280 if( output ) {
83 - alert( document.getElementById('lname').style.color );
 81+ alert( output );
8482 return false;
8583 }
8684

Status & tagging log