From d179cbaf3233ace0bc542e836c5c46e4129a9e0a Mon Sep 17 00:00:00 2001 From: Kris Borchers Date: Sat, 24 Nov 2012 23:18:51 -0600 Subject: Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome. --- ui/jquery.ui.dialog.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui') 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 ); -- cgit v1.2.3