Skip to main content

Search and Top Navigation

#4260 closed bug (worksforme)

Opened March 02, 2009 02:25PM UTC

Closed August 22, 2009 01:52PM UTC

Jquery UI Docs are wrong about "connectWith"

Reported by: aquadrop Owned by:
Priority: minor Milestone: 1.8
Component: ui.sortable Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Hi, here ( the reported syntax for the ''connectWith'' option is:

$('.selector').sortable({ connectWith: '.otherlist' });

but if used, it does not work and causes an unhandled exception.

The right syntax is

$('.selector').sortable({ connectWith: '''$('.otherlist')''' });
Attachments (0)
Change History (3)

Changed May 07, 2009 12:59PM UTC by jzaefferer comment:1

milestone: TBD1.7.2
type: featurebug

The option should accept anything the jQuery-object accepts (String, DOM Element), accepting only a jQuery object is a bug.

Changed May 07, 2009 01:24PM UTC by jzaefferer comment:2


Changed August 22, 2009 01:52PM UTC by paul comment:3

resolution: → worksforme
status: newclosed

I can't confirm this - our own demos actually use this notation and it all works fine.