Merge pull request #2021 from henrymohn/bug-1875_Password-Hint

Removed else statement preventing Success message from displaying cau…
This commit is contained in:
Morris Jobke 2016-11-05 16:54:37 +01:00 committed by GitHub
commit bfd2596381
1 changed files with 10 additions and 11 deletions

View File

@ -235,7 +235,7 @@ $(document).ready(function () {
$(".personal-show-label").show();
$('#pass1').val('');
$('#pass2').val('').change();
} else {
}
if (typeof(data.data) !== "undefined") {
OC.msg.finishedSaving('#password-error-msg', data);
} else {
@ -248,7 +248,6 @@ $(document).ready(function () {
}
);
}
}
$(".password-loading").remove();
$("#passwordbutton").removeAttr('disabled');
});