mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-16 10:15:24 -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:
parent
9468c16233
commit
e10f1274dc
@ -11,6 +11,7 @@ notes for it.
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
release_notes_4_23
|
||||
release_notes_4_22
|
||||
release_notes_4_21
|
||||
release_notes_4_20
|
||||
|
20
docs/en_US/release_notes_4_23.rst
Normal file
20
docs/en_US/release_notes_4_23.rst
Normal file
@ -0,0 +1,20 @@
|
||||
************
|
||||
Version 4.23
|
||||
************
|
||||
|
||||
Release date: 2020-06-25
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin4 4.22.
|
||||
|
||||
New features
|
||||
************
|
||||
|
||||
|
||||
Housekeeping
|
||||
************
|
||||
|
||||
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #5416 <https://redmine.postgresql.org/issues/5416>`_ - Ensure that the query tool panel gets closed when clicking on the 'Don't Save' button.
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user