Skip to main content

Search and Top Navigation

#5987 closed bug (duplicate)

Opened August 24, 2010 03:34PM UTC

Closed August 24, 2010 03:40PM UTC

Last modified October 11, 2012 09:15PM UTC

Draggable doesn't use jQuery context.

Reported by: guscatalano Owned by:
Priority: minor Milestone:
Component: ui.draggable Version: 1.8.4
Keywords: draggable context Cc:
Blocked by: Blocking:

If we have the situation mentioned here.

Where the frameset contains jQuery UI code and the draggable element is inside a frame. The Draggable code will bind the mouse to the frameset document, NOT the frame.

Ideally, if this is passed in.

$(panel, childFrame.document).draggable();

The mouse bindings should be done to the childFrame.document, not the frameset's document.

These are the lines that could be changed to use jQuery context.


.bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)

.bind('mouseup.'+this.widgetName, this._mouseUpDelegate);



.unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate)

.unbind('mouseup.'+this.widgetName, this._mouseUpDelegate);

$(document) should refer to the context passed in.

Attachments (0)
Change History (2)

Changed August 24, 2010 03:40PM UTC by scottgonzalez comment:1

component: ui.coreui.draggable
resolution: → duplicate
status: newclosed

Duplicate of #4908.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted