Skip to main content

Search and Top Navigation

#3739 closed bug (worksforme)

Opened January 02, 2009 07:39PM UTC

Closed October 28, 2012 08:57PM UTC

connectToSortable now fails if argument is string

Reported by: Marc Diethelm Owned by:
Priority: major Milestone: 2.0.0
Component: ui.draggable Version: 1.6rc4
Keywords: draggable, sortable, connectToSortable, string 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 a string fails to provide the expected functionality however, the sortable does not 'accept' the dragged item.

In 1.6rc2 it was the other way round: A single selector string worked but an array of selectors didn't. See bug #3666 (has testcase for both conditions).

Attachments (0)
Change History (7)

Changed January 31, 2009 02:41AM UTC by Marc Diethelm comment:1

Currently after #3984 being 'fixed' the beviour is reversed again. Array is not accepted.

Changed February 12, 2009 12:07PM UTC by Marc Diethelm comment:2

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 November 13, 2009 06:19PM UTC by scottgonzalez comment:3

milestone: 1.next1.8

Depends on #4957.

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:4

milestone: 1.9.02.0.0

Changed October 20, 2012 03:12AM UTC by mikesherov comment:5

blockedby: → 4957
status: newopen

Changed October 28, 2012 08:57PM UTC by mikesherov comment:6

blockedby: 4957

Thanks for contributing! This is working on latest: http://jsfiddle.net/3KztC/

Changed October 28, 2012 08:57PM UTC by mikesherov comment:7

resolution: → worksforme
status: openclosed