From 33c16ae1637a2591d0eb3ecf0a7f776d2bd6f6f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 21 Jul 2009 00:03:39 +0000 Subject: [PATCH] Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable. Thanks AudreyT. --- ui/ui.dialog.js | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5