r74339 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74338‎ | r74339 | r74340 >
Date:06:24, 6 October 2010
Author:kaldari
Status:deferred
Tags:
Comment:
revert bad edit, need sleep
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter.php
@@ -143,11 +143,13 @@
144144 $form .= Xml::closeElement( 'form' ); // close form 'payment'
145145 $form .= <<<EOT
146146 <script type="text/javascript">
147 -if (document.getElementById('fname').value == '') {
 147+var fname = document.getElementById('fname');
 148+var lname = document.getElementById('lname');
 149+if (fname.value == '') {
148150 fname.style.color = '#999999';
149151 fname.value = 'First';
150152 }
151 -if (document.getElementById('lname').value == '') {
 153+if (lname.value == '') {
152154 lname.style.color = '#999999';
153155 lname.value = 'Last';
154156 }

Status & tagging log