Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js |
— | — | @@ -2,6 +2,7 @@ |
3 | 3 | * JavaScript for Special:ChangeEmail |
4 | 4 | */ |
5 | 5 | ( function( $, mw ) { |
| 6 | + |
6 | 7 | /** |
7 | 8 | * Given an email validity status (true, false, null) update the label CSS class |
8 | 9 | */ |
— | — | @@ -26,13 +27,14 @@ |
27 | 28 | // Lame tip to let user know if its email is valid. See bug 22449 |
28 | 29 | // Only bind once for 'blur' so that the user can fill it in without errors |
29 | 30 | // After that look at every keypress for direct feedback if it was invalid onblur |
30 | | -$( '#wpNewEmail' ).one( 'blur', function() { |
| 31 | +$( '#mw-input-wpemailaddress' ).one( 'blur', function() { |
31 | 32 | if ( $( '#mw-emailaddress-validity' ).length === 0 ) { |
32 | | - $(this).after( '<label for="wpNewEmail" id="mw-emailaddress-validity"></label>' ); |
| 33 | + $(this).after( '<label for="mw-input-wpemailaddress" id="mw-emailaddress-validity"></label>' ); |
33 | 34 | } |
34 | 35 | updateMailValidityLabel( $(this).val() ); |
35 | 36 | $(this).keyup( function() { |
36 | 37 | updateMailValidityLabel( $(this).val() ); |
37 | 38 | } ); |
38 | 39 | } ); |
39 | | -} )( jQuery, mediaWiki ); |
\ No newline at end of file |
| 40 | + |
| 41 | +} )( jQuery, mediaWiki ); |
Property changes on: trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js |
___________________________________________________________________ |
Added: svn:mergeinfo |
40 | 42 | Merged /branches/new-installer/phase3/resources/mediawiki.special/mediawiki.special.preferences.js:r43664-66004 |
41 | 43 | Merged /branches/REL1_15/phase3/resources/mediawiki.special/mediawiki.special.preferences.js:r51646 |
42 | 44 | Merged /branches/REL1_17/phase3/resources/mediawiki.special/mediawiki.special.preferences.js:r81445,81448 |
43 | 45 | Merged /branches/sqlite/resources/mediawiki.special/mediawiki.special.preferences.js:r58211-58321 |