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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-03-15 20:42:00 +00:00
parent e9164dd56d
commit e430f167d7
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
}