Opened 14 years ago

Closed 14 years ago

#3698 closed bug (fixed)

After leaving a connected sortable without drop action, the sortable is not functional

Reported by: nivancevic Owned by:
Priority: critical Milestone: 1.7
Component: ui.draggable Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:


Using jquery-1.2.6.min.js and jquery-ui from the trunk, I've constructed the following simple example:

... jQuery('#sortable1').sortable(); jQuery('#draggable').draggable({

helper:'clone', connectToSortable:#sortable1

}); ... <div id="draggable"><span>Test</span></div> <div id="sortable1">

<p>item1</p> <p>item2</p>

</div> ...

When dragging #draggable over #sortable1 and after end dragging without dropping the dragged item to #sortable, the sortable list is not functional any longer.

Change History (3)

comment:1 Changed 14 years ago by rdworth

Milestone: TBD1.6
Priority: blockercritical

comment:2 Changed 14 years ago by alan.castro

I've just downloaded the trunk version, and this is fixed.

It was solved by adding the following line in the ui.draggable.js file: this.instance.cancelHelperRemoval = false; Remove the helper in the sortable instance at the latest version the cancelHelperRemoval is never backed up to false.

Please mark this bug as fixed.

comment:3 Changed 14 years ago by paul

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.