-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.4
-
None
-
MOODLE_404_STABLE
I can't see that this breaks anything but it doesn't look right to me.
Steps to reproduce issue
- Create a course and go to the course page.
- Enable editing mode.
- Click Add an activity or resource.
- Select Assignment (this issue doesn't appear to be specific to this).
- Expand Restrict access and click Add restriction....
- Click Date.
Expected results
No errors in the browser console.
Actual results
Error in the browser console:
yui_combo.php?rollup…dlesimple-min.js:22 Uncaught
TypeError: Cannot read properties of null (reading 'className')
at Object.hasClass (yui_combo.php?rollup…mple-min.js:22:2150)
at c.<computed> [as hasClass] (yui_combo.php?rollup…mple-min.js:28:1400)
at i.centerDialogue (yui_combo.php?m/1724…/form-min.js:1:7493)
at i.centerDialogOnVisible (yui_combo.php?m/1724…/form-min.js:1:8145)
at ResizeObserver.<anonymous> (yui_combo.php?m/1724…/form-min.js:1:7906)
hasClass @ yui_combo.php?rollup…dlesimple-min.js:22
c.<computed> @ yui_combo.php?rollup…dlesimple-min.js:28
centerDialogue @ yui_combo.php?m/1724…/form/form-min.js:1
centerDialogOnVisible @ yui_combo.php?m/1724…/form/form-min.js:1
(anonymous) @ yui_combo.php?m/1724…/form/form-min.js:1
Above message is from Chromium 127.0.6533.99, a slightly different TypeError is seen in Firefox 129.0.
- duplicates
-
MDL-71005 Restrict Access form results in JS TypeError
-
- Closed
-