Skip to content
Permalink
Browse files

Small change to question_print_comment_box() to allow multiple boxes …

…on one page
  • Loading branch information...
gustav_delius
gustav_delius committed Apr 9, 2006
1 parent cf156ab commit 848d886edb47eb293f97715296a4fe8bc64f61ba
Showing with 2 additions and 1 deletion.
  1. +2 −1 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 '<form method="post" action="'.$url.'">';
@@ -1182,7 +1183,7 @@ function question_print_comment_box($question, $state, $attempt, $url) {
echo '</form>';
if ($usehtmleditor) {
use_html_editor('comment');
use_html_editor();
}
}

0 comments on commit 848d886

Please sign in to comment.
You can’t perform that action at this time.