From: gustav_delius Date: Mon, 10 Apr 2006 19:58:34 +0000 (+0000) Subject: No longer print the comment boxes for each question in review because it was too... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=097bd3f5e8c6ba29f43154b4c3c703db23650313;p=moodle.git No longer print the comment boxes for each question in review because it was too slow. We are back to opening the comment box in a popup window. --- diff --git a/question/type/question.html b/question/type/question.html index 9934db0ffb..8993752d50 100644 --- a/question/type/question.html +++ b/question/type/question.html @@ -3,21 +3,6 @@ * print_question() method. */ ?> - - - -
@@ -43,18 +28,8 @@ echo $comment; ?>
- - -
- - \ No newline at end of file diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 5f54fe0178..a50ff8a994 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -478,8 +478,8 @@ class default_questiontype { $commentlink = ''; if (isset($options->questioncommentlink)) { $strcomment = get_string('commentorgrade', 'quiz'); - $attempt = get_record('quiz_attempts', 'uniqueid', $state->attempt); // would just have $attempt->uniqueid = $state->attempt but review.php needs $attempt->id - $commentlink = "id');\">$strcomment"; + $commentlink = ''; } $history = $this->history($question, $state, $number, $cmoptions, $options);