diff --git a/docs/en_US/release_notes.rst b/docs/en_US/release_notes.rst index 6fd75df54..57f7e13ec 100644 --- a/docs/en_US/release_notes.rst +++ b/docs/en_US/release_notes.rst @@ -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 diff --git a/docs/en_US/release_notes_4_23.rst b/docs/en_US/release_notes_4_23.rst new file mode 100644 index 000000000..4e7527d52 --- /dev/null +++ b/docs/en_US/release_notes_4_23.rst @@ -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 `_ - Ensure that the query tool panel gets closed when clicking on the 'Don't Save' button. \ No newline at end of file diff --git a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js index a0c4d1d19..fe4b6b5e0 100644 --- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js +++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js @@ -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;