Skip to content
Permalink
Browse files

Dialog: Fixed #3731: Contain dialogs within the document when dragging.

  • Loading branch information...
scottgonzalez committed Jan 3, 2009
1 parent 03f0b95 commit 8b9312a064f6fc65b2a08649e0e2383dbf434772
Showing with 1 addition and 0 deletions.
  1. +1 −0 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));
},

0 comments on commit 8b9312a

Please sign in to comment.
You can’t perform that action at this time.