Query tool file handling cleanup. Fixes #1460
- Opening a file should set the tab name to the filename
- Editing a file should add a * to the tab name to indicate the file is dirty
- Saving changes to a file should clear the *
- The Save button should have a drop-down menu, with a Save As option.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a7d7577c7c838904123fb8183890b3d6c41ae8a5
Author: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
Modified Files
--------------
.../tools/datagrid/templates/datagrid/index.html | 16 ++++++
.../sqleditor/templates/sqleditor/js/sqleditor.js | 64 ++++++++++++++++++----
2 files changed, 69 insertions(+), 11 deletions(-)