Stopping event propagation between a sortable and accordion
I have a sortable and accordion defined on the same element, and I'm
having a hard time stopping event propagation after the sortable
handlers fire, in order to prevent the accordion from opening an item
after it has been sorted. In other words, after the sortable's
handlers are invoked, the accordion should not be invoked. I am trying
to accomplish this by calling Event.stopImmediatePropagation() at the
end of my sortable's event handlers (including 'stop' event handler),
but the accordion still opens the item anyway... How can I prevent the
accordion from opening an item after it has been handled by the
sortable?
Thanks!
Edin