-
Bug
-
Resolution: Fixed
-
Minor
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-68231-master -
-
1
When you drop a section in the Weeks or Topics course format the wait selector stays on
The following JS errors appear:
Uncaught TypeError: Cannot read property 'swap' of null
|
at Object.M.course.format.swap_sections (format.js:2)
|
at DRAGSECTION.success (yui_combo.php?m/1584976196/course/coursebase/coursebase-debug.js&m/1584976196/course/util/util-base-debug.js&m/1584976196/course/util/util-section-debug.js&m/1584976196/course/util/util-cm-debug.js&m/1584976196/course/dragdrop/dragdrop-debug.js:655)
|
at Y.Subscriber._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13680)
|
at Y.Subscriber.notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13709)
|
at Y.CustomEvent._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13372)
|
at Y.CustomEvent._procSubs (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13498)
|
at Y.CustomEvent.fireSimple (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13465)
|
at Y.CustomEvent._fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13447)
|
at IO.fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:14600)
|
at IO._evt (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:23686)
|
It appears to be caused because the non-ajax activity chooser is no longer always present on the page.
The script is looking for an element with the section_add_menus class inside the sections.
- blocks
-
MDL-65539 Keyboard drag and drop ordering of sections in courses is broken and confusing
- Closed
-
MDL-68235 Incorrect section used in activity creation after section drag and drop
- Closed
- has to be done before
-
MDL-68189 Names of sections renamed inline do not change in the keyboard drag and drop menu
- Closed
- is a regression caused by
-
MDL-68056 Improve performance of course_section_add_cm_control()
- Closed
- is duplicated by
-
MDL-68247 Drag and drop ordering of sections in courses is broken
- Closed