aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-10-04 09:15:40 -0400
committerScott González <scott.gonzalez@gmail.com>2010-10-04 09:15:40 -0400
commit67b1db14c964418ce8b1fd760d54761040cc32af (patch)
treed80134f852931501207a96d95f6209694e406731 /ui/jquery.ui.dialog.js
parentd7670b94076ac9e17db6f00963c7f8187213be2d (diff)
downloadjquery-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.js3
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);