-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.8
-
MOODLE_403_STABLE
-
MOODLE_405_STABLE, MOODLE_500_STABLE
-
mdl-83262_405
-
mdl-83262_500
-
mdl-83262_main
-
-
-
In current Moodle versions, deleting a section can lead to a situation where all remaining sections have the same collapse state, and the collapse/expand toggler should be updated.
Additionally, in Moodle 4.5, section pages don't display the collapse/expand toggler at all, even though the page could contain collapsible subsections.
This is fixed as part of MDL-83233, but perhaps should be done as a separate issue.
I don't think the call to _refreshAllSectionsToggler() is necessary for core in _reloadSection() (on the main branch). I don't think it does any harm, though, and it would help make it possible for my course format (and possibly others?) to use reactive AJAX add section without breaking the all-section toggler.
This second reported behaviour will be tacled in MDL-81768