From: Scott González Date: Tue, 21 Jul 2009 00:03:39 +0000 (+0000) Subject: Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs... X-Git-Tag: 1.8a1~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=33c16ae1637a2591d0eb3ecf0a7f776d2bd6f6f3;p=jquery-ui.git Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable. Thanks AudreyT. --- diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index b0c2d4545..299f744b8 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -340,6 +340,7 @@ $.widget("ui.dialog", { self.uiDialog.resizable({ cancel: '.ui-dialog-content', + containment: 'document', alsoResize: self.element, maxWidth: options.maxWidth, maxHeight: options.maxHeight,