https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108340

Revision: 108340
Author:   krinkle
Date:     2012-01-08 00:24:25 +0000 (Sun, 08 Jan 2012)
Log Message:
-----------
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: 
trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js
===================================================================
--- trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js   
2012-01-08 00:22:44 UTC (rev 108339)
+++ trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js   
2012-01-08 00:24:25 UTC (rev 108340)
@@ -27,9 +27,9 @@
 // Lame tip to let user know if its email is valid. See bug 22449
 // Only bind once for 'blur' so that the user can fill it in without errors
 // After that look at every keypress for direct feedback if it was invalid 
onblur
-$( '#mw-input-wpemailaddress' ).one( 'blur', function() {
+$( '#wpNewEmail' ).one( 'blur', function() {
        if ( $( '#mw-emailaddress-validity' ).length === 0 ) {
-               $(this).after( '<label for="mw-input-wpemailaddress" 
id="mw-emailaddress-validity"></label>' );
+               $(this).after( '<label for="wpNewEmail" 
id="mw-emailaddress-validity"></label>' );
        }
        updateMailValidityLabel( $(this).val() );
        $(this).keyup( function() {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to