aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-30 13:08:56 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-30 13:08:56 +0100
commit13505e5945e5532c3d56424d50ad109c665d205f (patch)
tree0688bcd8c187f98b099717c1723afe49a4aa1325 /ui/jquery.ui.dialog.js
parent548a6ce7f927f327e7db261d343caba9b889409d (diff)
downloadjquery-ui-13505e5945e5532c3d56424d50ad109c665d205f.tar.gz
jquery-ui-13505e5945e5532c3d56424d50ad109c665d205f.zip
Dialog: Ensure all animations finish and clean up themselve when destroying dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 46fc7adf4..4a8b9964f 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -131,7 +131,7 @@ $.widget("ui.dialog", {
// without detaching first, the following becomes really slow
.detach();
- this.uiDialog.remove();
+ this.uiDialog.stop( true, true ).remove();
if ( this.originalTitle ) {
this.element.attr( "title", this.originalTitle );