-
Bug
-
Resolution: Fixed
-
Major
-
4.2.6, 4.3
-
6
-
Team Hedgehog 2024 Review 2, Team Hedgehog 2024 Sprint 3.1
As soon as the config option debugtemplateinfo is enabled, all modals will break with JS error lockRegion.querySelectorAll is not a function
I already hardened the language string via AMOS to warn more explicitely when enabling this config switch.
In addition to that, IMO the modal JS module should be hardened to not rely on the fact that the "first" child object is being used, because the root of the error is that the first child object suddenly is the template comment instead of the correct child object.
Problem cause:
Here the element root[0] is the comment object if $CFG->debugtemplateinfo is enabled instead of the correct DOM element.
- is a regression caused by
-
MDL-77182 Debug option to automatic insert HTML comments with the template name into the output
-
- Closed
-