Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed for Moodle 4.4 #204

Open
wants to merge 1 commit into
base: MOODLE_42_STABLE
Choose a base branch
from

Conversation

RayCoSector
Copy link

Fix for area to place content in course page within Moodle 4.4

Fix for area to place content in course page within Moodle 4.4
@aspark21
Copy link

aspark21 commented Jul 9, 2024

@RayCoSector just noting this fix has MOODLE_42_STABLE as a base rather than the master branch, there’s a few additional commits in master than may have done something about this

@leonstr
Copy link

leonstr commented Jul 11, 2024

I've tried this change with Moodle 4.4.1+ (Build: 20240705) and get A required parameter (anonymize) was missing when I try to copy an activity.

However if I just apply the final change, i.e. changing amd/src/script.js line 758 from:

                	$container.find(M.course.format.get_section_wrapper(null)).each(function (index, sectionDOM) {

to:

                	$container.find('li.section').each(function (index, sectionDOM) {

the problem no longer happens. However this does suggest get_section_wrapper() is broken in Moodle 4.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants