From d2fa4b4446c74f95383756e215b2cb7f0609fd8c Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Tue, 3 Mar 2009 10:29:18 +0000 Subject: [PATCH] Dialog: fix dialog height from being reset after drag in Safari. related to r2152 and #4252 --- ui/ui.dialog.js | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.5