Changeset 35649
- Timestamp:
- 11/16/2015 08:48:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/user-profile.js
r35603 r35649 196 196 } ); 197 197 198 // Disable the hidden inputs to prevent autofill and submission. 199 $pass1.prop( 'disabled', true ); 200 $pass2.prop( 'disabled', true ); 201 $pass1Text.prop( 'disabled', true ); 198 // Disable hidden inputs to prevent autofill and submission. 199 if ( $pass1.is( ':hidden' ) ) { 200 $pass1.prop( 'disabled', true ); 201 $pass2.prop( 'disabled', true ); 202 $pass1Text.prop( 'disabled', true ); 203 } 202 204 203 205 $passwordWrapper = $pass1Row.find( '.wp-pwd' );
Note: See TracChangeset
for help on using the changeset viewer.