Opened 14 years ago
Closed 6 years ago
#5048 closed bug (patcheswelcome)
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.)
Change History (6)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
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
comment:3 Changed 11 years ago by
Milestone: | TBD → 2.0.0 |
---|
comment:4 Changed 11 years ago by
Cc: | rantkowi@… removed |
---|---|
Component: | ui.draggable → ui.sortable |
Status: | new → open |
Summary: | Dragging plugin objects (such as Flash SWFs) causes the SWFs to be re-created → Sortable: 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.
comment:6 Changed 6 years ago by
Resolution: | → patcheswelcome |
---|---|
Status: | open → closed |
I'm going to close this since I have a feeling people aren't sorting SWF objects anymore.
What is idrag.js? Where is that coming from? We can't fix your code without even taking a look.