mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the query tool panel gets closed when clicking on the 'Don't Save' button. Fixes #5416
This commit is contained in:
committed by
Akshay Joshi
parent
9468c16233
commit
e10f1274dc
@@ -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