-
Bug
-
Resolution: Fixed
-
Major
-
3.0.6, 3.1.2, 3.2
-
MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
Steps to reproduce (this is easier to see if your theme has a verbose footer, e.g. turn on display of performance info; or the questions have verbose question text and so are quite tall):
- Create a quiz with 2 questions on page 1 and 2 questions on page 2.
- Start an attempt or preview.
- Click on the navigation button for question 4.
Expected result:
You go to a URL like .../mod/quiz/attempt.php?attempt=7&page=1#q4, and when the page loads, you are scrolled down to question 4.
Actual result:
You go to a URL like .../mod/quiz/attempt.php?attempt=8&page=1&scrollpos=0#q4#q2, so that the fragment identifier is screwed up, and even if it was not, the scroll manager javascript forces you back to the top of the page.