mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-13 00:21:59 -05:00
Ensure that the query tool panel gets closed when clicking on the 'Don't Save' button. Fixes #5416
This commit is contained in:
1 parent
9468c16233
commit
e10f1274dc
3 files changed
+24
-1
No files matched your search
@@ -4384,7 +4384,9 @@ define('tools.querytool', [
|
||||
else
|
||||
self.ignore_on_close.unsaved_query = true;
|
||||
// Go back to check for any other needed confirmations before closing
|
||||
self.check_needed_confirmations_before_closing_panel();
|
||||
if (!self.check_needed_confirmations_before_closing_panel()){
|
||||
closeEvent.cancel = true;
|
||||
}
|
||||
break;
|
||||
case 2: //Save
|
||||
self.close_on_save = true;
|
||||
|
||||
Reference in new issue
Block a user