Dialog: workaround for positioning bug.

This commit is contained in:
Scott González 2010-01-15 02:16:21 +00:00
parent 486373239f
commit c313289d00

View File

@ -426,7 +426,10 @@ $.widget("ui.dialog", {
if (!isVisible) {
this.uiDialog.show();
}
this.uiDialog.position({
this.uiDialog
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
.css({ top: 0, left: 0 })
.position({
my: myAt.join(' '),
at: myAt.join(' '),
offset: offset.join(' '),