mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
Fix Javascript error from essay questions on the review page.
This commit is contained in:
parent
5a128471cc
commit
d3879eafec
@ -102,7 +102,7 @@ class question_essay_qtype extends default_questiontype {
|
||||
|
||||
include("$CFG->dirroot/question/type/essay/display.html");
|
||||
|
||||
if ($usehtmleditor) {
|
||||
if ($usehtmleditor && empty($options->readonly)) {
|
||||
use_html_editor($inputname);
|
||||
$htmleditorused = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user