Dialog: Passing in a DOMElement instead of a jQuery object for alsoResize to avoid resizable bug.

This commit is contained in:
Scott González
2008-12-23 04:32:44 +00:00
parent ca14d8cd66
commit 5e936731bd

View File

@@ -312,7 +312,7 @@ $.widget("ui.dialog", {
this.uiDialog.resizable({
cancel: '.ui-dialog-content',
alsoResize: this.element,
alsoResize: this.element[0],
helper: options.resizeHelper,
maxWidth: options.maxWidth,
maxHeight: options.maxHeight,