Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#3979 closed bug (fixed)

Sortable connectWith fails

Reported by: Marc Diethelm Owned by: Scott González
Priority: blocker Milestone: 1.7
Component: ui.sortable Version: 1.6rc6
Keywords: sortable, connectWith Cc: boo@…
Blocked by: Blocking:

Description

Connecting one sortable to another fails with following error (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5):

[Exception... "'Syntax error, unrecognized expression: #' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

Tested with latest (trunk). attaching testcase

Attachments (1)

sortable.connectWith.html (1.5 KB) - added by Marc Diethelm 11 years ago.
Testcase

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by rdworth

Milestone: TBD1.6
Priority: criticalblocker
Version: 1.6rc6

comment:2 Changed 11 years ago by Scott González

Owner: set to scott.gonzalez
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Fixed in r1936.

comment:4 Changed 11 years ago by Marc Diethelm

I'm sad to report I'm still seing an error here:

[Exception... "'Syntax error, unrecognized expression: #' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

comment:5 Changed 11 years ago by Marc Diethelm

In Fx 3.1b2 the error is different: "uncaught exception: Syntax error, unrecognized expression: #"

comment:6 Changed 11 years ago by Marc Diethelm

Ok, when the connectWith selector is wrapped in an array the error disappears. This effectively fixes the problem but really needs to be documented.

Changed 11 years ago by Marc Diethelm

Attachment: sortable.connectWith.html added

Testcase

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

This is fixed. I'm not sure how view.jquery.com gets updated, but these files are not current. You should test against http://jquery-ui.googlecode.com/svn/trunk.

Note: See TracTickets for help on using tickets.