Fix orphan database connections resulting in an inability to connect to databases. #5567

This commit is contained in:
Khushboo Vashi
2023-01-19 15:57:02 +05:30
committed by GitHub
parent 22cc658dca
commit 6ae91592d1
10 changed files with 190 additions and 7 deletions

View File

@@ -786,6 +786,10 @@ define('pgadmin.node.server', [
if(data.errmsg) {
Notify.error(data.errmsg);
}
// Generate the event that server is connected
pgBrowser.Events.trigger(
'pgadmin:server:connected', data._id, item, data
);
}
})
.fail(function(xhr, status, error) {