diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-01-03 05:25:48 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-01-03 05:25:48 +0000 |
commit | 8b9312a064f6fc65b2a08649e0e2383dbf434772 (patch) | |
tree | 7b854197d98261e331570441507df8072a0c107b /ui | |
parent | 03f0b95b52f51e3190a6c429c036fa5f1e6d643f (diff) | |
download | jquery-ui-8b9312a064f6fc65b2a08649e0e2383dbf434772.tar.gz jquery-ui-8b9312a064f6fc65b2a08649e0e2383dbf434772.zip |
Dialog: Fixed #3731: Contain dialogs within the document when dragging.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.dialog.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 824f8d29f..b7fee7e7e 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -285,6 +285,7 @@ $.widget("ui.dialog", { cancel: '.ui-dialog-content', helper: options.dragHelper, handle: '.ui-dialog-titlebar', + containment: 'document', start: function() { (options.dragStart && options.dragStart.apply(self.element[0], arguments)); }, |