diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-10-04 09:18:21 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-10-04 09:18:21 -0400 |
commit | c090802cc1f92736288dafbea95bb2783392975e (patch) | |
tree | 7b73d5eeba28bf8cf7fc2e06ddd6ddb01ea525cd /ui/jquery.ui.dialog.js | |
parent | 67b1db14c964418ce8b1fd760d54761040cc32af (diff) | |
download | jquery-ui-c090802cc1f92736288dafbea95bb2783392975e.tar.gz jquery-ui-c090802cc1f92736288dafbea95bb2783392975e.zip |
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
This reverts commit 67b1db14c964418ce8b1fd760d54761040cc32af.
Reverting so I can commit again with the proper author.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index b000bf5bd..86dfa5fa1 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -309,6 +309,9 @@ $.widget("ui.dialog", { uiDialog = self.uiDialog; self.overlay = options.modal ? new $.ui.dialog.overlay(self) : null; + if (uiDialog.next().length) { + uiDialog.appendTo('body'); + } self._size(); self._position(options.position); uiDialog.show(options.show); |