Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 24de9b0

Browse files
author
rossbrandon
committed
MAGETWO-83184: Static Content Update for ReleaseNotification Module
1 parent 3cc4070 commit 24de9b0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app/code/Magento/Backend/view/adminhtml/templates/admin/access_denied.phtml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,9 @@
2121
<li><span><?= $block->escapeHtml(__('Contact a system administrator or store owner to gain permissions.')) ?></span></li>
2222
<li>
2323
<span><?= $block->escapeHtml(__('Return to ')) ?>
24-
<a href="<?= $block->escapeHtmlAttr(__('javascript:history.back()')) ?>"
25-
onclick="<?= $block->escapeHtmlAttr(__('goBackToReferer(); return false;')) ?>">
24+
<a href="<?= $block->escapeHtmlAttr(__('javascript:history.back()')) ?>">
2625
<?= $block->escapeHtml(__('previous page')) ?></a><?= $block->escapeHtml(__('.')) ?>
2726
</span>
2827
</li>
2928
</ul>
3029
</div>
31-
<script>
32-
function goBackToReferer() {
33-
window.location.href = document.referrer;
34-
}
35-
</script>

0 commit comments

Comments
 (0)