From af2ddf45ea69ec74f748de7a7b03986867b78a87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20K=C3=BChn?= Date: Sun, 16 Jun 2013 12:36:27 +0200 Subject: [PATCH] Allowing "autoOpen: false" on modal dialogs --- wcfsetup/install/files/js/WCF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index db67d0310b..5e79c83d6d 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -8308,7 +8308,7 @@ $.widget('ui.wcfDialog', { if (this.options.modal) { this._overlay = $('#jsWcfDialogOverlay'); if (!this._overlay.length) { - this._overlay = $('
').css({ height: '100%', zIndex: 399 }).appendTo(document.body); + this._overlay = $('
').css({ height: '100%', zIndex: 399 }).hide().appendTo(document.body); } if (this.options.closable) { -- 2.20.1