cellule-tice / moodle-format_collapsibletopics

Clone of core topics format that adds collapsing behaviour to sections.
7 stars 6 forks source link

Wrong item labels in drop targets list when moving items #12

Closed jrm-unamur closed 5 years ago

jrm-unamur commented 5 years ago

When clicking arrows button to move a section or activity, the list of proposed drop targets displays first activity/resource of each section rather than section name. This is caused by the html structure that is different from core topics format. Core takes the first text available below the .section element which is in this course format the first activity. Solution: insert a hidden span with the section name.