mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: _blockFrames now appends blocking div to iframe parent rather than body. Should fix Ticket #7650.
This commit is contained in:
parent
25cf569c63
commit
94e475ba2d
3
ui/jquery.ui.draggable.js
vendored
3
ui/jquery.ui.draggable.js
vendored
@ -361,7 +361,6 @@ $.widget( "ui.draggable", $.ui.interaction, {
|
||||
},
|
||||
|
||||
_blockFrames: function() {
|
||||
var body = this.document[0].body;
|
||||
|
||||
this.iframeBlocks = this.document.find( "iframe" ).map(function() {
|
||||
var iframe = $( this ),
|
||||
@ -375,7 +374,7 @@ $.widget( "ui.draggable", $.ui.interaction, {
|
||||
top: iframeOffset.top,
|
||||
left: iframeOffset.left
|
||||
})
|
||||
.appendTo( body )[0];
|
||||
.appendTo( iframe.parent() )[0];
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user