Skip to main content

Search and Top Navigation

#5048 closed bug (patcheswelcome)

Opened January 07, 2010 05:59PM UTC

Closed April 17, 2017 07:30PM UTC

Sortable: Dragging SWFs causes the SWFs to be re-created

Reported by: rantkowi Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.7.2
Keywords: plugin, object, swf, clone Cc:
Blocked by: Blocking:
Description

I am trying to use jQuery UI Draggable to allow the user to drag around a DIV that contains innerHTML which defines a HTML object such as a flash SWF.

When the user begins to drag (and I also believe when the user stops dragging) I noticed that the plugin object is re-created (and in the process, the previous state of what the user was doing with the plugin is lost.)

I assume that this is happening because of the call to:

var clonedEl = elm.cloneNode(true);

inside of dragstart : function(e) (in the file idrag.js.)

Attachments (0)
Change History (6)

Changed January 15, 2010 10:58AM UTC by jzaefferer comment:1

What is idrag.js? Where is that coming from? We can't fix your code without even taking a look.

Changed February 02, 2010 05:14PM UTC by varenc comment:2

I too am experiencing trouble with this.

Here's my example at http://jsbin.com/areko/2 . (code at http://jsbin.com/areko/2/edit) Play the youtube movie, then try to drag the element its contained it, and the movie will reset.

Any solution to this would be greatly appreciated

Changed October 11, 2012 09:07PM UTC by scottgonzalez comment:3

milestone: TBD2.0.0

Changed October 26, 2012 12:38AM UTC by mikesherov comment:4

cc: rantkowi@wms.com
component: ui.draggableui.sortable
status: newopen
summary: Dragging plugin objects (such as Flash SWFs) causes the SWFs to be re-createdSortable: Dragging SWFs causes the SWFs to be re-created

This is only happening on a sortable, and not on a draggable: http://jsfiddle.net/Dv4kD/1/ Not sure if we want to fix this bug, but I'll mark it as open for now.

Changed March 07, 2013 03:19AM UTC by tj.vantoll comment:5

#5068 is a duplicate of this ticket.

Changed April 17, 2017 07:30PM UTC by scottgonzalez comment:6

resolution: → patcheswelcome
status: openclosed

I'm going to close this since I have a feeling people aren't sorting SWF objects anymore.