Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable.

Thanks AudreyT.
This commit is contained in:
Scott González 2009-07-21 00:03:39 +00:00
parent ec09afabb6
commit 33c16ae163

View File

@ -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,