Skip to content
Snippets Groups Projects
Commit 592eacf3 authored by Robin Appelman's avatar Robin Appelman
Browse files

tweak settings passwords a bit

parent c9c16338
Branches
No related tags found
No related merge requests found
......@@ -54,12 +54,16 @@ $(document).ready(function(){
input.focus();
input.keypress(function(event) {
if(event.keyCode == 13) {
if($(this).val().length>0){
$.post(
OC.filePath('admin','ajax','changepassword.php'),
{username:uid,password:$(this).val()},
function(result){}
);
input.blur();
}else{
input.blur();
}
}
});
input.blur(function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment