When using course modules without view page and loading sections via JS, Javascript code is not executed
This issue is similiar to https://tracker.moodle.org/browse/MDL-75540
If you use a course module that does not have a view page (e.g. mod_unilabel) and that does require Javascript code to run properly, this code is not executed when loading sections via Javascript.
Steps to reproduce:
- Create an instance of mod_unilabel with type "Grid" with some content that does open in a modal.
- Click on a tile of the grid. The modal will open behind the backdrop, course is unusable now until page reload.
Comments (6)
-
-
repo owner Thanks for the report. Please would you retest with the latest version and let me know if still a problem, as some work was done in this in the last release
-
I could reproduce this issue with tiles format version 2024090510.
-
repo owner I believe I have a workaround for this which I will add to the next release
-
reporter I already submitted a pull request solving that issue two years ago: https://bitbucket.org/dw8/moodle-format_tiles/pull-requests/20
-
repo owner - changed status to resolved
Fixes issue
#123mod_unilabel modals→ <<cset 78dfe4d4c765>>
- Log in to comment
I wonder, does this solve https://bitbucket.org/dw8/moodle-format_tiles/issues/128/moodle-40-mark-as-done-button-not as well?