Skip to content
Permalink
Browse files

Dialog: Fixed bug where dialogs wouldn't close if there was no animat…

…ion.
  • Loading branch information...
scottgonzalez committed Feb 26, 2009
1 parent 2ec68cb commit eade720a3b2f31de6a20dfd963cc8333916296c8
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();

0 comments on commit eade720

Please sign in to comment.
You can’t perform that action at this time.