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

Check box not rendering and therefore, the block Mass action does not work. #42

Open
kiratskitizing opened this issue Apr 13, 2021 · 1 comment

Comments

@kiratskitizing
Copy link

kiratskitizing commented Apr 13, 2021

The checkbox that block Mass action use is not rendered using Moodle 3.9, in effect, the block Mass action does not work. Please see below.
Environment:

  1. Course using Topic Format: (Mass action does not work)
  2. Course using Collapsed Topic: (Mass action does not work)

It looks like the plugin is broken and it does not work on Moodle core latest 3.9.6 release as well. Please see below.

  • Moodle Core 3.9.6 (Build: 20210325) using theme_boost
  • Collapsed Topic 3.9.1.4 (2020071804)
  • Block Mass Action v5.1.3 - 2018042400

Results: The mass action block does not work for both Collapsed Topic and Topic format.
Screenshot_20210413_103442

@tlock
Copy link

tlock commented Apr 23, 2021

Change required per (https://github.com/Syxton/moodle-block_massaction/releases/tag/5.1.4):

blocks/massaction/amd/src/block_massaction.js:

+                    if (!courseActivities.length) {
+                        courseActivities = $('#section-' + jQueryIdentifier).children('div.actions');
+                    }

Rebuild AMD

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

No branches or pull requests

2 participants