diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-10-04 09:15:40 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-10-04 09:15:40 -0400 |
commit | 67b1db14c964418ce8b1fd760d54761040cc32af (patch) | |
tree | d80134f852931501207a96d95f6209694e406731 /ui/jquery.ui.dialog.js | |
parent | d7670b94076ac9e17db6f00963c7f8187213be2d (diff) | |
download | jquery-ui-67b1db14c964418ce8b1fd760d54761040cc32af.tar.gz jquery-ui-67b1db14c964418ce8b1fd760d54761040cc32af.zip |
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 86dfa5fa1..b000bf5bd 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -309,9 +309,6 @@ $.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); |