Skip to content
Snippets Groups Projects
Commit 45b74eeb authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Daniel Goerz
Browse files

[BUGFIX] Open a new tab if window name in backend is `newTYPO3frontendWindow`

If a preview is opened via the TYPO3 backend, the opened window has the
name `newTYPO3frontendWindow` to ensure only one preview window is open.
However, if somebody changes in such window into the TYPO3 backend, the
window name is not changed, causing that such preview links are opened
in the same window again.

This patch resets the window name before a preview is opened to ensure
that previews are always opened in a new window.

Resolves: #89805
Releases: master, 9.5
Change-Id: Ib4b31e78da21befc27c50ea3d49762f2a81fe029
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62491


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent 78acfec5
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