Skip to content

Commit

Permalink
Dialog: fix dialog height from being reset after drag in Safari. rela…
Browse files Browse the repository at this point in the history
…ted to r2152 and #4252
  • Loading branch information
rdworth committed Mar 3, 2009
1 parent 5ab17ce commit d2fa4b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/ui.dialog.js
Expand Up @@ -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();
}
Expand Down

0 comments on commit d2fa4b4

Please sign in to comment.