mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Ensure that the pgAdmin server should not be closed if the user clicks on the Cancel button of the 'Leave site' message box.
This commit is contained in:
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
Block a user