We have a course format which uses Bootstrap collapse to expand/collapse sections. This relies on the sectionbody having a unique id which is referenced in sectionhead.
It works fine until a section is dragged. The YUI code creates a clone with the same id and hides it. Then when the sectionhead is clicked, it is the hidden clone which expands/collapses.
I have spent days trying to work out how to remove the cloned node on dragend and I'm not even sure if any of my proposed solutions are the correct approach (remove the cloned node or remove it's id attribute), but I have not been able to achieve them.
Can anyone help?