Changeset 34114
- Timestamp:
- 09/14/2015 10:38:32 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/user-profile.js
r34062 r34114 33 33 } else { 34 34 $pass1.val( $pass1.data( 'pw' ) ); 35 $pass1.trigger( 'pwupdate' ) ;35 $pass1.trigger( 'pwupdate' ).trigger( 'wp-check-valid-field' ); 36 36 if ( 1 !== parseInt( $toggleButton.data( 'start-masked' ), 10 ) ) { 37 37 $pass1Wrap.addClass( 'show-password' ); -
trunk/src/wp-includes/js/wp-ajax-response.js
r34068 r34114 51 51 }, 52 52 invalidateForm: function ( selector ) { 53 return jQuery( selector ).addClass( 'form-invalid' ).find('input').one( 'change ', function() { jQuery(this).closest('.form-invalid').removeClass( 'form-invalid' ); } );53 return jQuery( selector ).addClass( 'form-invalid' ).find('input').one( 'change wp-check-valid-field', function() { jQuery(this).closest('.form-invalid').removeClass( 'form-invalid' ); } ); 54 54 }, 55 55 validateForm: function( selector ) {
Note: See TracChangeset
for help on using the changeset viewer.