diff options
author | John Firebaugh <john_firebaugh@bigfix.com> | 2010-10-01 15:46:19 -0700 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-10-04 09:18:46 -0400 |
commit | e66cdfcf59f3a03bb3c49337f8c11da0a236b337 (patch) | |
tree | d80134f852931501207a96d95f6209694e406731 /ui/jquery.ui.dialog.js | |
parent | c090802cc1f92736288dafbea95bb2783392975e (diff) | |
download | jquery-ui-e66cdfcf59f3a03bb3c49337f8c11da0a236b337.tar.gz jquery-ui-e66cdfcf59f3a03bb3c49337f8c11da0a236b337.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); |