From 2c4fa83cda7d661c5197f42489195f50b58a979b Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Wed, 31 Jan 2018 23:30:40 +0100 Subject: [PATCH] Prompting before saving now opt-in in editor settings. Fixes Issue #77 --- changelog.txt | 1 + configurator.py | 26 ++++++++++++++++++++++++-- dev.html | 26 ++++++++++++++++++++++++-- 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 54517c9..26a86eb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Version 0.2.6 (2018-) - Added menu item to open configurator in new tab (Issue #76) @danielperna84 - Automatically load last viewed (and not closed) file via localStorage @danielperna84 - CTRL+s / CMD+s can now be used to save a file @danielperna84 +- Prompting before saving now opt-in in editor settings @danielperna84 Version 0.2.5 (2018-01-27) - Added warning-logs for access failure @danielperna84 diff --git a/configurator.py b/configurator.py index e5b7703..659cc07 100755 --- a/configurator.py +++ b/configurator.py @@ -1757,6 +1757,10 @@ INDEX = Template(r"""
  • Editor Settings
  • Keyboard Shortcuts

    +

    + + +

    @@ -2163,10 +2167,11 @@ INDEX = Template(r""" draggable: true }); listdir('.'); + document.getElementById('savePrompt').checked = get_save_prompt(); });