From: tjhunt Date: Mon, 6 Aug 2007 14:10:46 +0000 (+0000) Subject: MDL-10730 - After submitting a question in adaptive mode, go back to that question... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3d3867b69ad735f0aed422b7c27673b5dece179d;p=moodle.git MDL-10730 - After submitting a question in adaptive mode, go back to that question, not the top of the page. Code thanks to Tony Gardner-Medwin, based on my suggestion. --- diff --git a/question/type/questiontype.php b/question/type/questiontype.php index da40a84e35..2035657b58 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -1039,16 +1039,12 @@ class default_questiontype { allowed. */ if (($cmoptions->optionflags & QUESTION_ADAPTIVE) and !$options->readonly) { - echo ''; + echo 'id, "'; return true;", '" />'; } } - /** * Return a summary of the student response *