I have number of drop areas $('.drophere') and a storage of draggables $('.dragme'). Each drop area can contain just one dropped item.
You can drop new item over dropped one (replace). You can drag an item from one drop area to other. You can drop the dragged item outside of drop area - and "forget" it - no need to revert.
If you start drag an item from drop area and decided drop it back to same area - drop event is not fired, thus the dragged item is lost.
Is it some kind of restriction in jQuery UI droppable? Is any way to "forget" the origins of such dragged item?
I would prefer use drop event instead of stop and testing position.
Thank you
Here is fiddle with example: http://jsfiddle.net/gpnpwwbw/