-
Bug
-
Resolution: Fixed
-
Minor
-
3.1, 3.1.3, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-57125-master -
- Open your JS console.
- Visit Site admin > Reports > Comments
- Make sure the error described on the issue description is not displayed.
When viewing the comments report as admin (site admin > reports > comments) with no comments in it the javascript throws an exception because it's unable to find an element it's expecting on the page.
This appears to be broken on master and 3.1.
comment.js:413 Uncaught TypeError: Cannot read property 'on' of null(…)init_admin @ comment.js:413(anonymous function) @ (index):674_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089(anonymous function) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1005_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089(anonymous function) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1226_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089handleLoader @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1234_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8152_onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8201complete @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8440onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8502_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:4944_next @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5141_progress @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5249onLoad @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5041
|
- Discovered while testing
-
MDL-56988 Boost: Fix styling for Reports pages
- Closed