diff options
author | Kris Borchers <kris.borchers@gmail.com> | 2012-11-24 23:18:51 -0600 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-11-26 10:28:25 +0100 |
commit | d179cbaf3233ace0bc542e836c5c46e4129a9e0a (patch) | |
tree | b98787043912548f686eb3e10e9be3408c55b4f0 /ui | |
parent | ec1f1bde76c555e7643899c5bbbb200353f780ea (diff) | |
download | jquery-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.js | 1 |
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 ); |