r2177 - trunk/ui

r2177 - trunk/ui


Author: rdworth
Date: Tue Mar 3 02:29:18 2009
New Revision: 2177
Modified:
trunk/ui/ui.dialog.js
Log:
Dialog: fix dialog height from being reset after drag in Safari. related to
r2152 and #4252
Modified: trunk/ui/ui.dialog.js
==============================================================================
--- trunk/ui/ui.dialog.js    (original)
+++ trunk/ui/ui.dialog.js    Tue Mar 3 02:29:18 2009
@@ -341,6 +341,8 @@
            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();
            }