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
@@ -11,6 +11,7 @@ notes for it.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
|
release_notes_4_23
|
||||||
release_notes_4_22
|
release_notes_4_22
|
||||||
release_notes_4_21
|
release_notes_4_21
|
||||||
release_notes_4_20
|
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
|
else
|
||||||
self.ignore_on_close.unsaved_query = true;
|
self.ignore_on_close.unsaved_query = true;
|
||||||
// Go back to check for any other needed confirmations before closing
|
// 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;
|
break;
|
||||||
case 2: //Save
|
case 2: //Save
|
||||||
self.close_on_save = true;
|
self.close_on_save = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user