r103548 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103547‎ | r103548 | r103549 >
Date:00:52, 18 November 2011
Author:kaldari
Status:ok
Tags:
Comment:
slightly redder red for errors
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/lightbox1.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/lightbox1.js
@@ -177,7 +177,7 @@
178178 var valueLength = $.trim( $this.val() ).length;
179179 if ( valueLength == 0 ) {
180180 errors = true;
181 - $this.css( 'background-color', '#FFEDEF' );
 181+ $this.css( 'background-color', '#FFEAEC' );
182182 } else {
183183 $this.css( 'background-color', '#FFFFFF' );
184184 }
@@ -192,7 +192,7 @@
193193 var ccCheckRegExp = /[^\d]/;
194194 if ( ccCheckRegExp.test(cardNumber) ) {
195195 errors = true;
196 - $( '#card_num' ).css( 'background-color', '#FFEDEF' );
 196+ $( '#card_num' ).css( 'background-color', '#FFEAEC' );
197197 } else {
198198 $( '#card_num' ).css( 'background-color', '#FFFFFF' );
199199 }
@@ -226,7 +226,7 @@
227227 var valueLength = $.trim( $this.val() ).length;
228228 if ( valueLength == 0 ) {
229229 errors = true;
230 - $this.css( 'background-color', '#FFEDEF' );
 230+ $this.css( 'background-color', '#FFEAEC' );
231231 } else {
232232 $this.css( 'background-color', '#FFFFFF' );
233233 }
@@ -240,7 +240,7 @@
241241 var dotpos = email.lastIndexOf(".");
242242 if( apos < 1 || dotpos-apos < 2 ) {
243243 errors = true;
244 - $( '#email' ).css( 'background-color', '#FFEDEF' );
 244+ $( '#email' ).css( 'background-color', '#FFEAEC' );
245245 } else {
246246 $( '#email' ).css( 'background-color', '#FFFFFF' );
247247 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r103624MFT r103434, r103537, r103541, r103548khorn23:04, 18 November 2011

Status & tagging log