aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 da57ae984..501772eb5 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -140,8 +140,8 @@ $.widget("ui.dialog", {
uiDialogTitlebarClose.removeClass( "ui-state-focus" );
})
.click(function( event ) {
+ event.preventDefault();
self.close( event );
- return false;
})
.appendTo( uiDialogTitlebar ),