From: Alexander Ebert Date: Mon, 29 Dec 2014 13:40:34 +0000 (+0100) Subject: Fixed 'Purchased Items' button appended two times X-Git-Tag: 2.1.0_Beta_3~60 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=271dbd668ad8efa93019503afc2b9bae0898a62b;p=GitHub%2FWoltLab%2FWCF.git Fixed 'Purchased Items' button appended two times --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index ec3f849708..ce219c0c9e 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -1629,7 +1629,7 @@ WCF.ACP.PluginStore.PurchasedItems.Search = Class.extend({ }); var $button = $('
  • ' + WCF.Language.get('wcf.acp.pluginStore.purchasedItems.button.search') + '
  • '); - $button.prependTo($('.contentNavigation:eq(0) > nav > ul')).click($.proxy(this._click, this)); + $button.prependTo($('.contentNavigation:eq(0) > nav:not(.pageNavigation) > ul')).click($.proxy(this._click, this)); }, /**