-
Bug
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
MDL-84333-main -
-
-
-
1
-
HQ 2025 Planning I1 Moppies
Since MDL-83339 there's a deprecation message in the course page:
Init component with id is deprecated, use a query selector instead.
The reason is quite simple: now all course reactive components use Query selectors instead of hard-coded element IDs to init.
However, the course/format/templates/local/content.mustache still uses a hard-coded ID.
component.init('page', {}, sectionreturn);
When it should be:
component.init('#page', {}, {{sectionreturn);}}
- is a regression caused by
-
MDL-83339 Unify init params from course editor AMD modules
-
- Closed
-