Changes between Initial Version and Version 1 of Ticket #4550, comment 11
- Timestamp:
- Mar 11, 2011, 10:31:17 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4550, comment 11
initial v1 3 3 I set it up to not do the remove on the "drop" function of the droppable but had it occur on the "stop" function of the draggable. 4 4 5 //drop event on the droppable 5 /*drop event on the droppable*/ 6 6 7 ui.draggable.attr("removeme", "true"); 7 8 8 //stop event on the draggable 9 /*stop event on the draggable*/ 10 9 11 if ($(this).attr("removeme") == "true") { 10 12 $(this).remove();