r108340 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108339‎ | r108340 | r108341 >
Date:00:24, 8 January 2012
Author:krinkle
Status:ok
Tags:
Comment:
Re-applying change to code from r106516
* Diff in r106516 didn't show that these changes where made due to new file creation, fixed now.
* Follows-up r108339
Modified paths:
  • /trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js
@@ -27,9 +27,9 @@
2828 // Lame tip to let user know if its email is valid. See bug 22449
2929 // Only bind once for 'blur' so that the user can fill it in without errors
3030 // After that look at every keypress for direct feedback if it was invalid onblur
31 -$( '#mw-input-wpemailaddress' ).one( 'blur', function() {
 31+$( '#wpNewEmail' ).one( 'blur', function() {
3232 if ( $( '#mw-emailaddress-validity' ).length === 0 ) {
33 - $(this).after( '<label for="mw-input-wpemailaddress" id="mw-emailaddress-validity"></label>' );
 33+ $(this).after( '<label for="wpNewEmail" id="mw-emailaddress-validity"></label>' );
3434 }
3535 updateMailValidityLabel( $(this).val() );
3636 $(this).keyup( function() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106516Follow-up r92924: move the CSS/JS for e-mail validation to Special:ChangeEmail....robin18:31, 17 December 2011
r108339Re-do svn copy from r106516 preserving historykrinkle00:22, 8 January 2012

Status & tagging log