aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorDavid Petersen <public@petersendidit.com>2012-10-17 09:28:51 -0400
committerScott González <scott.gonzalez@gmail.com>2012-10-17 20:28:27 -0400
commit35dc9307fc2ce5d2016e8848fdc578829867f97e (patch)
treef790ab2b80820832de325a70899b96383c367fe4 /ui/jquery.ui.dialog.js
parentdda1925d0f8d19b4baffa20259674dcef85e8bab (diff)
downloadjquery-ui-35dc9307fc2ce5d2016e8848fdc578829867f97e.tar.gz
jquery-ui-35dc9307fc2ce5d2016e8848fdc578829867f97e.zip
Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event.
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 d83059ade..e234464ad 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -251,7 +251,7 @@ $.widget("ui.dialog", {
}
if ( this.options.hide ) {
- this.uiDialog.hide( this.options.hide, function() {
+ this._hide( this.uiDialog, this.options.hide, function() {
that._trigger( "close", event );
});
} else {