]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: fix dialog height from being reset after drag in Safari. related to r2152...
authorRichard Worth <rdworth@gmail.com>
Tue, 3 Mar 2009 10:29:18 +0000 (10:29 +0000)
committerRichard Worth <rdworth@gmail.com>
Tue, 3 Mar 2009 10:29:18 +0000 (10:29 +0000)
ui/ui.dialog.js

index 380a19466deb9894c8218dab9473a73f8209317f..553a6748dead8e283d83d29236adb24bad27abee 100644 (file)
@@ -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();
                        }