Ensure that ERD throws a warning before closing unsaved changes if open in a new tab. Fixes #6193
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=75f887f5dcc76c18f8fcd5abab5988560efe7ffc
Author: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Modified Files
--------------
docs/en_US/release_notes_5_0.rst | 1 +
web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js | 11 ++++++++---
.../erd/static/js/erd_tool/ui_components/BodyWidget.jsx | 15 +++++++++++++++
3 files changed, 24 insertions(+), 3 deletions(-)