i have problems using the MochiKit.DragAndDrop interface.
I would like to drag and drop an element on a certain area.
When the element is droped outside this area it should revert
to the origin, inside it should stay there.
When i set
'revert' : true
as on option to the draggable, jumping back to the origin works.
But how do i avoid reverting, when the element is dropped on the
target area?
I tried something like setting
'revert': false
in the "ondrop" handler, but this did not work.
Thank You for any help!
Helmut