Skip to main content

Search and Top Navigation

#3666 closed bug (fixed)

Opened December 15, 2008 04:04PM UTC

Closed February 13, 2009 04:52AM UTC

Last modified January 17, 2010 06:08AM UTC

connectToSortable breaks if argument is array

Reported by: Marc Diethelm Owned by:
Priority: major Milestone: 1.7
Component: ui.draggable Version: 1.6rc2
Keywords: draggable, sortable, connectToSortable, array Cc:
Blocked by: Blocking:
Description

A draggable can be linked to a sortable in two ways: by setting 'connectToSortable' to a selector or to an array of selectors. Using an array fails to provide the expected functionality however, the sortable does not 'accept' the dragged item.

Attachments (3)
Change History (7)

Changed December 31, 2008 08:44PM UTC by scottgonzalez comment:1

milestone: TBD1.next

Changed January 02, 2009 07:40PM UTC by Marc Diethelm comment:2

In 1.6rc4 the behavior is reversed. Now a single selector string produces no result while an array of selectors works. Filing a new bug #3739.

Changed January 07, 2009 03:50PM UTC by alan.castro comment:3

I'm attaching a patch that fixes this issue, and by testing it i realized another bug: #3787

Changed January 07, 2009 03:53PM UTC by alan.castro comment:4

ps: i used jquery ui trunk version.

Changed January 31, 2009 02:39AM UTC by Marc Diethelm comment:5

After #3984 fix were back were we started: array is not accepted.

Changed February 12, 2009 12:06PM UTC by Marc Diethelm comment:6

Feb 12th:

Array works again, String fails. This is better. However the documentation states:

"Specifying this option as an array of selectors is deprecated." This needs to be changed.

Changed February 13, 2009 04:52AM UTC by scottgonzalez comment:7

milestone: 1.next1.6
resolution: → fixed
status: newclosed

Support for arrays has been removed. You must specify a selector now. I've updated the docs. Thanks.