Properly detect when files have changed in the query tool and set the dirty flag accordingly. Fixes #1807
Note that (like pgAdmin 3) we don't make any attempt to detect if all changes have been undone and completely reverted
asthat could be very expensive with large scripts.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ae809c4506a4c72b914ea61dd1d6202644d708aa
Author: Akshay Joshi <akshay.joshi@enterprisedb.com>
Modified Files
--------------
.../sqleditor/templates/sqleditor/js/sqleditor.js | 118 ++++++++++++---------
1 file changed, 69 insertions(+), 49 deletions(-)