Skip to main content

Search and Top Navigation

#9604 closed bug (fixed)

Opened October 15, 2013 06:04PM UTC

Closed February 03, 2015 06:10PM UTC

Last modified February 09, 2015 05:07PM UTC

Sortable: Add support for use in iframes

Reported by: eithed Owned by:
Priority: minor Milestone: 1.11.3
Component: ui.sortable Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Hi!

I've found out that sortable fails completely when called out from parent document, on elements within an iframe. It would seem to me that mouse events that are being used are not on the document within which the given sortable resides, as dragging outside the frame actually does move the elements within (however, I've not looked within the source).

Please find the jsfiddle here: http://jsfiddle.net/YWL88/1/

Git version (which helped with the similar, draggable issue, jsfiddle here: http://jsfiddle.net/YWL88/2/) throws an exception.

Tested under Chrome.

Thanks!

Attachments (0)
Change History (5)

Changed October 15, 2013 06:14PM UTC by tj.vantoll comment:1

status: newopen
summary: Sortable within iframe doesn't workSortable: Add support for use in iframes

Thanks eithed,

We've been trying to convert our widgets to use an internal reference to the

document
they were created in across the board. It seems sortable still has a number of unqualified references to
document
.

Changed February 03, 2015 06:10PM UTC by Marcus Warren comment:2

resolution: → fixed
status: openclosed

Sortable: Add support for iframes

Fixes #9604

Closes gh-1443

Changeset: 17c7f698a2894211bbb5f2d63750f5b3b84bb0ab

Changed February 03, 2015 06:10PM UTC by scottgonzalez comment:3

milestone: none1.12.0

Changed February 09, 2015 05:07PM UTC by Marcus Warren comment:4

Sortable: Add support for iframes

Fixes #9604

Closes gh-1443

(cherry picked from commit 17c7f698a2894211bbb5f2d63750f5b3b84bb0ab)

Changeset: fa460f36dc8191e4fe23c02bcbcc7d5006b51d7e

Changed February 09, 2015 05:07PM UTC by scottgonzalez comment:5

milestone: 1.12.01.11.3