Set autocomplete off for password files on the profile pages. Fixes #5006.

git-svn-id: https://develop.svn.wordpress.org/trunk@7318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-03-15 20:42:00 +00:00
parent ed39705caf
commit c9bb1b604e
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ function profile_js ( ) {
$('#pass1').keyup( check_pass_strength )
$('.color-palette').click(function(){$(this).siblings('input[name=admin_color]').attr('checked', 'checked')});
} );
addLoadEvent( function() {
jQuery('#pass1,#pass2').attr('autocomplete','off');
});
</script>
<?php
}