From b7b34bff16fb38cd7f8ca754407a7f53b934d6ad Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 22 Oct 2016 16:48:21 +0100 Subject: [PATCH] Don'tr estore content if there's something in the editor already. --- build/index.php | 6 ++++-- module_index.json | 2 +- modules/page-edit.php | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build/index.php b/build/index.php index 1412145..8bdd616 100755 --- a/build/index.php +++ b/build/index.php @@ -3853,12 +3853,14 @@ register_module([ $content .= << SMARTSAVE; diff --git a/module_index.json b/module_index.json index fcc9844..49de2fa 100755 --- a/module_index.json +++ b/module_index.json @@ -122,7 +122,7 @@ "author": "Starbeamrainbowlabs", "description": "Allows you to edit pages by adding the edit and save actions. You should probably include this one.", "id": "page-edit", - "lastupdate": 1477150472, + "lastupdate": 1477151244, "optional": false }, { diff --git a/modules/page-edit.php b/modules/page-edit.php index 4fac54a..6019cfe 100755 --- a/modules/page-edit.php +++ b/modules/page-edit.php @@ -107,12 +107,14 @@ register_module([ $content .= << SMARTSAVE;