projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1ced2
)
Prevent possible error when editing non-HTML pages
author
moodler
<moodler>
Mon, 2 Jun 2003 08:14:24 +0000
(08:14 +0000)
committer
moodler
<moodler>
Mon, 2 Jun 2003 08:14:24 +0000
(08:14 +0000)
mod/resource/details.php
patch
|
blob
|
history
diff --git
a/mod/resource/details.php
b/mod/resource/details.php
index 8cc156521961bbb201c84872d922d8121ecb96a0..41d4a7686f0cf54b083cef9bde5cef03a6d17aef 100644
(file)
--- a/
mod/resource/details.php
+++ b/
mod/resource/details.php
@@
-214,7
+214,7
@@
</center>
</form>
<?
- if ($usehtmleditor) {
+ if ($usehtmleditor
and $form->type == HTML
) {
print_richedit_javascript("theform", "alltext", "yes");
}
print_simple_box_end();