Opened 15 years ago
Closed 15 years ago
#2887 closed bug (notabug)
Mash-up issue with drag and drop and document.writeln
Reported by: | michelled | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.draggable | Version: | 1.5b4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Dragging something with a 'document.writeln' in it causes the page to break. Here is an example: http://build.fluidproject.org/sakai-imagegallery-tool/tests/fluid-tests/manual/jQueryDnD/writeln.html
To replicate the issue, try to drag 'Item 1'.
I encountered this problem when using jQuery drag an drop in a learning management system that already contained some javascript. We wanted to drag sections of the page around to change the layout. One of the sections of the page had an existing script that contained a call to 'document.writeln'.
Change History (3)
comment:1 Changed 15 years ago by
Milestone: | 1.2.4 |
---|
comment:2 Changed 15 years ago by
Component: | ui.core → ui.draggable |
---|---|
Version: | 1.2.3 → 1.5b4 |
comment:3 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
THis is not a issue of draggables - it's related to the cloning and appending of the element, which reexecutes the script code in global scope.
Milestone 1.2.4 deleted