aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.dialog.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-03-03 10:29:18 +0000
committerRichard Worth <rdworth@gmail.com>2009-03-03 10:29:18 +0000
commitd2fa4b4446c74f95383756e215b2cb7f0609fd8c (patch)
treec2050e8352730ef61cf119ba790b9ede1ff81092 /ui/ui.dialog.js
parent5ab17ce3235b9cc6e909f55a092c8299291a377c (diff)
downloadjquery-ui-d2fa4b4446c74f95383756e215b2cb7f0609fd8c.tar.gz
jquery-ui-d2fa4b4446c74f95383756e215b2cb7f0609fd8c.zip
Dialog: fix dialog height from being reset after drag in Safari. related to r2152 and #4252
Diffstat (limited to 'ui/ui.dialog.js')
-rw-r--r--ui/ui.dialog.js2
1 files changed, 2 insertions, 0 deletions
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();
}