aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKris Borchers <kris.borchers@gmail.com>2012-11-24 23:18:51 -0600
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-26 10:28:25 +0100
commitd179cbaf3233ace0bc542e836c5c46e4129a9e0a (patch)
treeb98787043912548f686eb3e10e9be3408c55b4f0 /ui
parentec1f1bde76c555e7643899c5bbbb200353f780ea (diff)
downloadjquery-ui-d179cbaf3233ace0bc542e836c5c46e4129a9e0a.tar.gz
jquery-ui-d179cbaf3233ace0bc542e836c5c46e4129a9e0a.zip
Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.dialog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index ea5226ac5..bcfc6f07c 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -527,6 +527,7 @@ $.widget("ui.dialog", {
if ( resize ) {
this._size();
+ this._position();
}
if ( this.uiDialog.is( ":data(ui-resizable)" ) ) {
this.uiDialog.resizable( "option", resizableOptions );