Fixed an issue where Clear Saved Password should be disabled if the password is already cleared. #5773

This commit is contained in:
Anil Sahoo
2023-02-14 15:47:40 +05:30
committed by GitHub
parent e70f115b48
commit 5303a36ff4

View File

@@ -427,6 +427,10 @@ define('pgadmin.node.server', [
if (res.success == 1) {
Notify.success(res.info);
t.itemData(i).is_password_saved=res.data.is_password_saved;
t.deselect(i);
setTimeout(function() {
t.select(i);
});
}
else {
Notify.error(res.info);