Skip to content

Commit

Permalink
Update Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JaJuMa committed May 17, 2022
1 parent 16d05b4 commit b465eaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions etc/adminhtml/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

<type name="Magento\Backend\Model\Menu\Item">
<plugin name="jajumaExtensionsLink" type="Jajuma\AwesomeHyva\Plugin\Backend\Model\Menu\Item\ExtensionsLinkPlugin"/>
<plugin name="jajumaExtensionsLinkAh" type="Jajuma\AwesomeHyva\Plugin\Backend\Model\Menu\Item\ExtensionsLinkPlugin"/>
</type>

<type name="Magento\Backend\Block\Menu">
<plugin name="jajumaExtensionsLinkJs" type="Jajuma\AwesomeHyva\Plugin\Backend\Block\Menu\AddLinkJs"/>
<plugin name="jajumaExtensionsLinkJsAh" type="Jajuma\AwesomeHyva\Plugin\Backend\Block\Menu\AddLinkJs"/>
</type>

</config>
3 changes: 2 additions & 1 deletion view/adminhtml/templates/backend/menu/link_blank.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
'jquery'
], function ($) {
$(document).ready(function () {
$('a[href*="https://.*jajuma.de"]').attr('target', '_blank');
$('a[href*="https://www.jajuma.de"]').attr('target', '_blank');
$('a[href*="https://hyva.extension.jajuma.de/awesomehyva/iconv6/"]').attr('target', '_blank');
});
});
</script>

0 comments on commit b465eaf

Please sign in to comment.