Other solution is to add next code below "...drop: function(){..."
$(this).droppable('disable');
logicaly, it will disable drop on element...
If you want enable drop, again, add next code below "...out: function
(event, ui) {..."
$(this).droppable('disable');
Hope it helps...
On Sep 8, 3:27
The accept option can take a function. That function gets called when a
draggable starts being dragged and the draggable item is sent as the first
argument to the function. So if your droppable already has an item, simply
return false in that function, otherwise return true. The other option would
2 matches
Mail list logo