From: Magnus Kühn Date: Sat, 29 Dec 2012 14:37:15 +0000 (+0100) Subject: Added loaded-parameter to render() X-Git-Tag: 2.0.0_Beta_1~639^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d080f86a1128d3fd3b443ef8789212f5be1a39f;p=GitHub%2FWoltLab%2FWCF.git Added loaded-parameter to render() --- 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();