Added loaded-parameter to render()
authorMagnus Kühn <magnus.khn@gmail.com>
Sat, 29 Dec 2012 14:37:15 +0000 (15:37 +0100)
committerMagnus Kühn <magnus.khn@gmail.com>
Sat, 29 Dec 2012 14:37:15 +0000 (15:37 +0100)
wcfsetup/install/files/js/WCF.js

index 17dfeb13873f7e0428ae2977e9818c33163a52c5..ff3c56dc8a8c26f7478cd3632f66db4d4bc2cf33 100755 (executable)
@@ -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();