mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix orphan database connections resulting in an inability to connect to databases. #5567
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user