-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
wip_
MDL-73877_master -
Ref: https://moodle.org/mod/forum/discuss.php?d=431946.
When highlighting a section, the 'current' class is no longer applied to the section as it was before in M3.11-.
Suggested fix is to add '$data->iscurrent = true;' to 'export_for_template()' of '/course/format/classes/output/local/content/section.php' when '($format->is_section_current($thissection))' is true. Or change '/course/format/templates/local/content/section.mustache' to use 'highlighted' instead of 'iscurrent' on the section 'li' tag.