aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.dialog.js1
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));
},