Prevent possible error when editing non-HTML pages

This commit is contained in:
moodler
2003-06-02 08:14:24 +00:00
parent 4c1ced25f5
commit 5c716ac2b4
+1 -1
View File
@@ -214,7 +214,7 @@
</center>
</form>
<?
if ($usehtmleditor) {
if ($usehtmleditor and $form->type == HTML) {
print_richedit_javascript("theform", "alltext", "yes");
}
print_simple_box_end();