From 1d080f86a1128d3fd3b443ef8789212f5be1a39f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20K=C3=BChn?= Date: Sat, 29 Dec 2012 15:37:15 +0100 Subject: [PATCH] Added loaded-parameter to render() --- wcfsetup/install/files/js/WCF.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 17dfeb1387..ff3c56dc8a 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -7572,8 +7572,14 @@ $.widget('ui.wcfDialog', { /** * Renders this dialog, should be called whenever content is updated. + * + * @param boolean loaded */ - render: function() { + render: function(loaded) { + if (loaded) { + this._content.removeClass('overlayLoading'); + } + if (!this.isOpen()) { // temporarily display container this._container.show(); -- 2.20.1