-
Improvement
-
Resolution: Fixed
-
Minor
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_26_STABLE
-
To make our course javascript simpler and reduce possible discrepancies, we should change our course renderers to have a function which produces the full output including <li> elements.
At present, the course dndupload code is forced to call each of the functions independently, and then rebuild the CM clientside. This is buggy (we have minor issues with whitespace because of it), slow, and breakable.
If we move the creation of the list element out of the JS, themes can override the renderers and these changes will be reflected in our JS.