Search and Top Navigation
#3834 closed bug (wontfix)
Opened January 15, 2009 04:54PM UTC
Closed January 16, 2009 02:37PM UTC
During update (callback) placeholder still exists
Reported by: | Marc Diethelm | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.7 |
Component: | ui.sortable | Version: | 1.6rc4 |
Keywords: | sortable, update, callback, placeholder | Cc: | |
Blocked by: | Blocking: |
Description
When the update callback is called the placeholder still physically exists in the sortable and interferes with the natural order of the universe.
jQuery("#sortable").sortable({ update: function() { jQuery(this).children().length // sortable items + placeholder jQuery(this).html() // sortable items + placeholder } });
Attachments (1)
Change History (1)
Changed January 16, 2009 02:37PM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
This is not a bug - many people rely on the placeholder/helper still being available in the update and stop callbacks. You can easily filter out the plceholder out of the set using $(this).children().not('.ui-sortable-placeholder') or the class you specified.