Skip to main content

Search and Top Navigation

#3698 closed bug (fixed)

Opened December 25, 2008 06:27PM UTC

Closed January 07, 2009 05:48PM UTC

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:
Description

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.

Attachments (0)
Change History (3)

Changed December 31, 2008 05:43PM UTC by rdworth comment:1

milestone: TBD1.6
priority: blockercritical

Changed January 07, 2009 03:15PM UTC by alan.castro comment:2

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.

Changed January 07, 2009 05:48PM UTC by paul comment:3

resolution: → fixed
status: newclosed