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:


Dragging something with a 'document.writeln' in it causes the page to break. Here is an example:

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 (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:2 Changed 15 years ago by paul

Component: ui.coreui.draggable

comment:3 Changed 15 years ago by paul

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.