Fixed update of counter badge in package search result list
authorMarcel Werk <burntime@woltlab.com>
Fri, 22 Jul 2016 16:40:20 +0000 (18:40 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 22 Jul 2016 16:40:20 +0000 (18:40 +0200)
wcfsetup/install/files/acp/js/WCF.ACP.js

index 75d4d492ddbf96743d89bdc264b3653ef94599bb..601bb7d446ac98bfbb0e6bb568009f035fbb2b7c 100644 (file)
@@ -1050,7 +1050,7 @@ WCF.ACP.Package.Search = Class.extend({
                // update badge count
                if (count !== undefined) {
                        this._content = { 1: template };
-                       this._packageSearchResultContainer.find('> header > h2 > .badge').html(count);
+                       this._packageSearchResultContainer.find('h2.sectionTitle > .badge').html(count);
                }
                
                // bind listener