From: Richard Worth Date: Tue, 3 Mar 2009 10:29:18 +0000 (+0000) Subject: Dialog: fix dialog height from being reset after drag in Safari. related to r2152... X-Git-Tag: 1.7~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2fa4b4446c74f95383756e215b2cb7f0609fd8c;p=jquery-ui.git Dialog: fix dialog height from being reset after drag in Safari. related to r2152 and #4252 --- diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 380a19466..553a6748d 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -341,6 +341,8 @@ $.widget("ui.dialog", { handles: resizeHandles, stop: function() { $(this).removeClass("ui-dialog-resizing"); + options.height = $(this).height(); + options.width = $(this).width(); (options.resizeStop && options.resizeStop.apply(self.element[0], arguments)); $.ui.dialog.overlay.resize(); }