-
Bug
-
Resolution: Fixed
-
Major
-
2.7.4, 2.8.2
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
- Attempt any quiz.
- Use your browser developer tools to look at the HTML for Quiz navigation block.
- Verify that each button has an attribute like data-quiz-page="0", data-quiz-page="1", etc.
In the quiz navigation fake block, there is one button (technically a HTML <a> link) for each question.
With default settings, it is possible to work out which page each question is on, but only by parsing the URL of the button link.
However, in sequential navigation mode, there are no links, and anyway, parsing the URL is nasty. Instead I am going to add a class pageN to each button.