Commit 82a756af authored by Felix Kopp's avatar Felix Kopp Committed by Christian Kuhn
Browse files

[FEATURE] EXT: viewpage open in blank window

Adds link to backend module docheader within EXT: viewpage
to open the current page in a new window.

Change-Id: I89c4a6f38bfb61fd9d5456e463840e7c9ecc5c9a
Fixes: #38918
Releases: 6.0
Reviewed-on: http://review.typo3.org/12777
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 0707d0b0
......@@ -8,9 +8,14 @@
<div class="typo3-fullDoc">
<div id="typo3-docheader">
<div id="typo3-docheader-row1">
<div class="docheader-row1-left">
<div class="buttonsleft">
<f:comment>
Uri was added by javascript window.open and not a simple <a href>
because f:be.buttons.icon does not support the target parameter.
</f:comment>
<f:be.buttons.icon uri="javascript:window.open('{url}', '');" icon="actions-document-view" />
</div>
<div class="docheader-row2-right">
<div class="buttonsright">
<f:be.buttons.icon uri="javascript:document.getElementById('tx_viewpage_iframe').contentWindow.location.reload(true);" icon="actions-system-refresh" />
<f:be.buttons.shortcut />
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment