Prompt the user to save dirty queries rather than discard them for a more natural workflow. Fixes #1972
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=76939e4f63f1da1820e80fa78f784bfe1887cd7a
Author: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
Modified Files
--------------
.../xss_checks_panels_and_query_tool_test.py | 16 +---
.../sqleditor/templates/sqleditor/js/sqleditor.js | 98 ++++++++++++++++++----
web/regression/feature_utils/pgadmin_page.py | 2 +-
3 files changed, 82 insertions(+), 34 deletions(-)