Hi,

I am trying to make elements both droppable and sortable as demonstrated in
http://soletme.free.fr/dragdrop/index.html However, I am trying to use it
with multiple targets. See http://jsfiddle.net/Wx35D/8/

The problem is, when I have multiple targets (green carts on the right), I
cannot seem to end/reset the Sortables instance in a correct way. Instead,
if you drag one of the "Items" into and out of the upper cart a few times
and then continue the drag into the lower cart, onSort callback is called
multiple times.

Each time a target area is entered:

            sort.addItems(sortClone);
            sort.start(ev,sortClone);

And each time a target area is left:

            sort.end();
            sort.removeItems(sortClone);

However, that doesn't seem to make it. What else might it need? Pointers?

Tuukka

Reply via email to