Commit 6d5b84cc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More sensible tinyMCE include

parent cac400af
...@@ -91,9 +91,11 @@ function editsitepage_submit($values) { ...@@ -91,9 +91,11 @@ function editsitepage_submit($values) {
exit; exit;
} }
$js = array();
if (use_html_editor()) { if (use_html_editor()) {
array_unshift($js,'tinymce'); $js = array('tinymce');
}
else {
$js = array();
} }
$ijs = <<< EOJS $ijs = <<< EOJS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment