Browse Source

Should Display PasswordToggle Eye Everywhere.

remotes/origin/stable6
raghunayyar 12 years ago
parent
commit
4eed240296
  1. 1
      core/css/styles.css
  2. 8
      core/js/js.js

1
core/css/styles.css

@ -413,7 +413,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
#personal-show + label {
margin-top: 1em;
margin-left: -3em;
display:inline !important;
}
#passwordbutton {
margin-left: .5em;

8
core/js/js.js

@ -747,14 +747,8 @@ $(document).ready(function(){
var setShowPassword = function(input, label) {
input.showPassword().keyup(function(){
if (input.val().length == 0) {
label.hide();
}
else {
label.css("display", "inline").show();
}
label.css("display", "inline").show();
});
label.hide();
};
setShowPassword($('#adminpass'), $('label[for=show]'));
setShowPassword($('#pass2'), $('label[for=personal-show]'));

Loading…
Cancel
Save