diff options
-rw-r--r-- | ui/jquery.ui.dialog.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index b2ec2fcc1..be4842e8a 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -421,6 +421,7 @@ $.widget("ui.dialog", { } } + // need to show the dialog to get the actual offset in the position plugin var isVisible = this.uiDialog.is(':visible'); if (!isVisible) { this.uiDialog.show(); |