Changes between Initial Version and Version 1 of Ticket #4550, comment 11


Ignore:
Timestamp:
Mar 11, 2011, 10:31:17 AM (10 years ago)
Author:
ebbergemann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4550, comment 11

    initial v1  
    33I 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.
    44
    5 //drop event on the droppable
     5/*drop event on the droppable*/
     6
    67ui.draggable.attr("removeme", "true");
    78
    8 //stop event on the draggable
     9/*stop event on the draggable*/
     10
    911if ($(this).attr("removeme") == "true") {
    1012    $(this).remove();