Skip to main content

Search and Top Navigation

#2157 closed bug (wontfix)

Opened January 14, 2008 02:06AM UTC

Closed February 07, 2008 06:14PM UTC

Last modified May 24, 2008 03:39AM UTC

Sortable update callback called before extra DOM element is removed

Reported by: lunarman9 Owned by: paul
Priority: major Milestone:
Component: ui.core Version: 1.2.1
Keywords: sortable update callback Cc:
Blocked by: Blocking:
Description

When a sortable item is dragged, a placeholding <li> is added to the list to occupy dropping space. When the dragged <li> is dropped into this placeholding space the update callback is called before removing this temporary <li> element - any $('#_id_of_list > li') calls in this callback will return the correct <li> items plus the extra placeholding <li>. I've worked around this bug by adding a timeout inside the callback.

Attachments (0)
Change History (2)

Changed February 07, 2008 06:14PM UTC by paul comment:1

resolution: → wontfix
status: newclosed

This is on purpose: The helper is needed for many callback uses to work properly. So I guess your solution might be the best one.

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.2

Milestone 1.2.2 deleted