From: Alexander Ebert Date: Fri, 16 Dec 2016 15:42:17 +0000 (+0100) Subject: Fixed Plugin-Store integration X-Git-Tag: 3.0.0_RC_2~46 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e61f344e000ba13cb9c739330350f875021fb09;p=GitHub%2FWoltLab%2FWCF.git Fixed Plugin-Store integration --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 22b6317de0..477f3a4f15 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -1464,7 +1464,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:not(.pagination) > ul')).click($.proxy(this._click, this)); + $button.prependTo($('.contentHeaderNavigation > ul')).click($.proxy(this._click, this)); }, /** diff --git a/wcfsetup/install/files/lib/data/package/PackageAction.class.php b/wcfsetup/install/files/lib/data/package/PackageAction.class.php index f4bf63aa9b..de5da03ec7 100644 --- a/wcfsetup/install/files/lib/data/package/PackageAction.class.php +++ b/wcfsetup/install/files/lib/data/package/PackageAction.class.php @@ -112,7 +112,7 @@ class PackageAction extends AbstractDatabaseObjectAction { case 200: if (empty($response['products'])) { return [ - 'noResults' => WCF::getLanguage()->get('wcf.acp.pluginStore.purchasedItems.noResults') + 'noResults' => WCF::getLanguage()->getDynamicVariable('wcf.acp.pluginStore.purchasedItems.noResults') ]; } else {