Bug Tracker

Ticket #2887 (new bug)

Opened 4 months ago

Mash-up issue with drag and drop and document.writeln

Reported by: michelled Assigned to: paul
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords:
Cc: Needs: Review

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'.

Attachments

Note: See TracTickets for help on using tickets.