I have an elements on page that are draggabe with jQuery. These elements have click event wich navigates to another page (ordinary links for example).
What is the best way to prevent click from firing on dropping such element, while allowing clicking it in not drag and drop state?
I have this problem with sortable elements, but think it is good to have solution for general drag and drop.
I've solved the problem for myself. After that found that same solution exists for Scriptaculous, but maybe someone have a better way to achieve that.