MDL-68821 course: Add a attr check for the chooser

This commit is contained in:
Mathew May 2020-05-25 14:22:33 +08:00
parent 71965a8572
commit e74bcf19f3
4 changed files with 16 additions and 3 deletions

View file

@ -15,6 +15,9 @@ Overview of this plugin type at http://docs.moodle.org/dev/Course_formats
preference is set, or when the theme sets $THEME->enablecourseajaxtheme to false. Formats which directly access
the '.section_add_menus' element or its children should be updated accordingly.
* section_header() now needs to include 'data-sectionid' => $section->section in the .section li to ensure correct section
selection for the Activity Chooser.
=== 3.8 ===
* The following functions have been finally deprecated and can not be used anymore: