Hide loading overlay for user panel requests
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 Dec 2014 16:06:39 +0000 (17:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 11 Dec 2014 16:06:39 +0000 (17:06 +0100)
wcfsetup/install/files/js/WCF.User.js

index 09c590ea60ae172764fb34244bd7656927e5a73e..db32cf5e93bc77444e0d5c343e74e8a75a22f2ae 100644 (file)
@@ -177,6 +177,7 @@ WCF.User.Panel.Abstract = Class.extend({
                this._options = options;
                
                this._proxy = new WCF.Action.Proxy({
+                       showLoadingOverlay: false,
                        success: $.proxy(this._success, this)
                });
                
@@ -345,7 +346,7 @@ WCF.User.Panel.Abstract = Class.extend({
                
                if (count) {
                        if (this._badge === null) {
-                               this._badge = $('<span class="badge badgeInverse" />').appendTo(this._triggerElement);
+                               this._badge = $('<span class="badge badgeInverse" />').appendTo(this._triggerElement.children('a'));
                        }
                        
                        this._badge.text(count);