From: gustav_delius Date: Sun, 9 Apr 2006 22:48:58 +0000 (+0000) Subject: Small change to question_print_comment_box() to allow multiple boxes on one page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=848d886edb47eb293f97715296a4fe8bc64f61ba;p=moodle.git Small change to question_print_comment_box() to allow multiple boxes on one page --- diff --git a/lib/questionlib.php b/lib/questionlib.php index 44e2251a80..29fd4e6f44 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -1171,6 +1171,7 @@ function get_question_image($question, $courseid) { function question_print_comment_box($question, $state, $attempt, $url) { global $CFG; + $prefix = 'response'; $usehtmleditor = can_use_richtext_editor(); $grade = round($state->last_graded->grade, 3); echo '
'; @@ -1182,7 +1183,7 @@ function question_print_comment_box($question, $state, $attempt, $url) { echo '
'; if ($usehtmleditor) { - use_html_editor('comment'); + use_html_editor(); } }