aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-02-26 01:27:34 +0000
committerScott González <scott.gonzalez@gmail.com>2009-02-26 01:27:34 +0000
commiteade720a3b2f31de6a20dfd963cc8333916296c8 (patch)
tree56059f176c5e74b68286b628b9f05610c64e52bc /ui
parent2ec68cba611a63583d728c993547545f430f7dc6 (diff)
downloadjquery-ui-eade720a3b2f31de6a20dfd963cc8333916296c8.tar.gz
jquery-ui-eade720a3b2f31de6a20dfd963cc8333916296c8.zip
Dialog: Fixed bug where dialogs wouldn't close if there was no animation.
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index 02dc79b11..7611db8db 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -167,7 +167,7 @@ $.widget("ui.dialog", {
? self.uiDialog.hide(self.options.hide, function() {
self._trigger('close', event);
})
- : self._trigger('close', event));
+ : self.uiDialog.hide() && self._trigger('close', event));
$.ui.dialog.overlay.resize();