aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-07-21 00:03:39 +0000
committerScott González <scott.gonzalez@gmail.com>2009-07-21 00:03:39 +0000
commit33c16ae1637a2591d0eb3ecf0a7f776d2bd6f6f3 (patch)
tree1c62d43520b6cb44549e835346848c5df747e51f
parentec09afabb68d9683625967bd3ee8f7302c25ae1a (diff)
downloadjquery-ui-33c16ae1637a2591d0eb3ecf0a7f776d2bd6f6f3.tar.gz
jquery-ui-33c16ae1637a2591d0eb3ecf0a7f776d2bd6f6f3.zip
Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable.
Thanks AudreyT.
-rw-r--r--ui/ui.dialog.js1
1 files changed, 1 insertions, 0 deletions
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,