From c33acbdd31198ed6fcbf67b71d2b6e08d845fa6c Mon Sep 17 00:00:00 2001 From: Sam Vermillion Date: Tue, 7 Feb 2012 00:57:40 -0600 Subject: [PATCH] Dialog: overlay: added absolute positioning. Fixed #7917 - bugs with displaying a modal window. --- ui/jquery.ui.dialog.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 1f959a837b6..1c793ae07df 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -728,7 +728,10 @@ $.extend( $.ui.dialog.overlay, { var $el = ( this.oldInstances.pop() || $( "
" ).addClass( "ui-widget-overlay" ) ); $el.appendTo( document.body ).css({ width: this.width(), - height: this.height() + height: this.height(), + position: 'absolute', + top: 0, + left: 0 }); if ( $.fn.bgiframe ) {