jquery/jquery-ui — pull request #954 by bgrins (2013-04-12 16:37:48+00:00)
Title: Draggable: enabled draggable from within iframe. Fixed #5727 - draggable: cannot drag element inside iframe

Fixes http://bugs.jqueryui.com/ticket/5727. This allows the ability to call $(element).draggable() when element is inside of an iframe.

Previously, all the mouse handlers were bound to parent document, this PR binds them to the owner document of the element being dragged.

Includes a visual test and minimal unit tests. I have been able to test in Chrome and Firefox.

This cleans up this PR: https://github.com/jquery/jquery-ui/pull/909 based on feedback from @mikesherov