Confirm loss of changes with the user before clearing the query or history, or opening a new file in the Query Tool.
Fixes#1666
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=982c291a31da13581ba4ee8ea345f04f60a175b7
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>
Modified Files
--------------
.../sqleditor/templates/sqleditor/js/sqleditor.js | 88 +++++++++++++++++-----
1 file changed, 69 insertions(+), 19 deletions(-)