When creating a new user, pasting a password should update the password strength indicator.
props dipesh.kakadiya. fixes #31226. git-svn-id: https://develop.svn.wordpress.org/trunk@31483 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
747f6589a1
commit
7d445a3e00
|
@ -34,8 +34,8 @@
|
||||||
var $colorpicker, $stylesheet, user_id, current_user_id,
|
var $colorpicker, $stylesheet, user_id, current_user_id,
|
||||||
select = $( '#display_name' );
|
select = $( '#display_name' );
|
||||||
|
|
||||||
$('#pass1').val('').keyup( check_pass_strength );
|
$('#pass1').val('').on( 'input propertychange', check_pass_strength );
|
||||||
$('#pass2').val('').keyup( check_pass_strength );
|
$('#pass2').val('').on( 'input propertychange', check_pass_strength );
|
||||||
$('#pass-strength-result').show();
|
$('#pass-strength-result').show();
|
||||||
$('.color-palette').click( function() {
|
$('.color-palette').click( function() {
|
||||||
$(this).siblings('input[name="admin_color"]').prop('checked', true);
|
$(this).siblings('input[name="admin_color"]').prop('checked', true);
|
||||||
|
|
Loading…
Reference in New Issue