Ensure that the pgAdmin server should not be closed if the user clicks on the Cancel button of the 'Leave site' message box.
parent
85b40ee4f0
commit
3a50c17110
|
|
@ -204,7 +204,7 @@ function launchPgAdminWindow() {
|
|||
// Set pgAdmin4 Windows Object
|
||||
misc.setPgAdminWindowObject(pgadminWindow);
|
||||
|
||||
pgadminWindow.on('close', function() {
|
||||
pgadminWindow.on('closed', function() {
|
||||
misc.cleanupAndQuitApp();
|
||||
});
|
||||
|
||||
|
|
@ -295,6 +295,6 @@ splashWindow.on('loaded', function() {
|
|||
}
|
||||
});
|
||||
|
||||
splashWindow.on('close', function() {
|
||||
splashWindow.on('closed', function() {
|
||||
misc.cleanupAndQuitApp();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue