aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Ui/Editor.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2022-07-14 22:37:03 +0200
committerAndreas Gohr <andi@splitbrain.org>2022-07-14 22:37:03 +0200
commite4085da24142cfafce95aa1368431a05fb6cecd3 (patch)
tree387bd9b02c93ad24770bc2dbec8b3ffaad6d3949 /inc/Ui/Editor.php
parentd1d65d581a25ebc7241a71984748ad049bec40dc (diff)
downloaddokuwiki-editorjs-cleanup.tar.gz
dokuwiki-editorjs-cleanup.zip
refactor editor.js completelyeditorjs-cleanup
This makes it simpler, cleaner and uses more modern JS APIs. jQuery dependencies have been mostly (but not completely) removed. This also fixes #3711
Diffstat (limited to 'inc/Ui/Editor.php')
-rw-r--r--inc/Ui/Editor.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/Ui/Editor.php b/inc/Ui/Editor.php
index 67ad081ff..be768d3c6 100644
--- a/inc/Ui/Editor.php
+++ b/inc/Ui/Editor.php
@@ -70,6 +70,7 @@ class Editor extends Ui
$form->setHiddenField('prefix', $PRE .'.');
$form->setHiddenField('suffix', $SUF);
$form->setHiddenField('changecheck', $check);
+ $form->setHiddenField('haschanged', $INPUT->int('haschanged')); // set by JavaScript
// prepare data for EDIT_FORM_ALTERNATE event
$data = array(