Merge pull request #2021 from henrymohn/bug-1875_Password-Hint
Removed else statement preventing Success message from displaying cau…
This commit is contained in:
commit
bfd2596381
|
@ -235,7 +235,7 @@ $(document).ready(function () {
|
||||||
$(".personal-show-label").show();
|
$(".personal-show-label").show();
|
||||||
$('#pass1').val('');
|
$('#pass1').val('');
|
||||||
$('#pass2').val('').change();
|
$('#pass2').val('').change();
|
||||||
} else {
|
}
|
||||||
if (typeof(data.data) !== "undefined") {
|
if (typeof(data.data) !== "undefined") {
|
||||||
OC.msg.finishedSaving('#password-error-msg', data);
|
OC.msg.finishedSaving('#password-error-msg', data);
|
||||||
} else {
|
} else {
|
||||||
|
@ -248,7 +248,6 @@ $(document).ready(function () {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
$(".password-loading").remove();
|
$(".password-loading").remove();
|
||||||
$("#passwordbutton").removeAttr('disabled');
|
$("#passwordbutton").removeAttr('disabled');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue