Opened 11 years ago

Closed 7 years ago

#3739 closed bug (worksforme)

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).

Change History (7)

comment:1 Changed 11 years ago by Marc Diethelm

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

comment:2 Changed 11 years ago by Marc Diethelm

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.

comment:3 Changed 10 years ago by Scott González

Milestone: 1.next1.8

Depends on #4957.

comment:4 Changed 7 years ago by Scott González

Milestone: 1.9.02.0.0

comment:5 Changed 7 years ago by mikesherov

Blocked by: 4957 added
Status: newopen

comment:6 Changed 7 years ago by mikesherov

Blocked by: 4957 removed

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

comment:7 Changed 7 years ago by mikesherov

Resolution: worksforme
Status: openclosed
Note: See TracTickets for help on using tickets.