Ticket #33897: 33897.1.diff
| File 33897.1.diff, 969 bytes (added by , 11 years ago) |
|---|
-
user-profile.js
204 204 if ( $pass1Text.val().length === 0 ) { 205 205 generatePassword(); 206 206 } 207 207 208 208 _.defer( function() { 209 209 $pass1Text.focus(); 210 210 if ( ! _.isUndefined( $pass1Text[0].setSelectionRange ) ) { … … 219 219 220 220 $generateButton.show(); 221 221 $passwordWrapper.hide(); 222 223 $toggleButton 224 .data( 'toggle', 0 ) 225 .attr({ 226 'aria-label': userProfileL10n.ariaHide 227 }).find( '.text' ) 228 .text( userProfileL10n.hide ) 229 .end().find( '.dashicons' ) 230 .removeClass('dashicons-visibility') 231 .addClass('dashicons-hidden'); 232 233 $pass1Text.focus(); 222 234 235 $pass1Label.attr( 'for', 'pass1-text' ); 236 223 237 // Clear password field to prevent update 224 238 $pass1.val( '' ).trigger( 'pwupdate' ); 225 239 $submitButtons.prop( 'disabled', false );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)