Skip to content
Snippets Groups Projects
Commit 2e61e4df authored by Adrian Lang's avatar Adrian Lang
Browse files

Fix JavaScript for change detection after preview

parent 7733c314
No related branches found
No related tags found
No related merge requests found
...@@ -1217,9 +1217,9 @@ function html_edit(){ ...@@ -1217,9 +1217,9 @@ function html_edit(){
if ($wr) { if ($wr) {
// sets changed to true when previewed // sets changed to true when previewed
echo '<script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--'; echo '<script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--'. NL;
echo 'textChanged = ' . ($mod ? 'true' : 'false'); echo 'textChanged = ' . ($mod ? 'true' : 'false');
echo '//--><!]]></script>'; echo '//--><!]]></script>' . NL;
} ?> } ?>
<div style="width:99%;"> <div style="width:99%;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment