From 3d3867b69ad735f0aed422b7c27673b5dece179d Mon Sep 17 00:00:00 2001 From: tjhunt Date: Mon, 6 Aug 2007 14:10:46 +0000 Subject: [PATCH] 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. --- question/type/questiontype.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 * -- 2.39.5