Fix none working backend

When opening backend, e.g. to edit content, it was broken.
This is due to the reason that context is missing.
The TYPO3 backend expects an existing JS context when an opener exists.
Therefore prevent opener in JS context. That way TYPO3 backend will
initialize itself properly.
This commit is contained in:
Daniel Siepmann 2020-09-25 00:30:48 +02:00
parent 00657f5b15
commit 3b3f15606a
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -15,7 +15,7 @@ function openBackendHandler(event) {
element = element.closest('a.typo3-feedit-btn-openBackend'); element = element.closest('a.typo3-feedit-btn-openBackend');
} }
var vHWin = window.open(element.getAttribute('data-backendScript'), element.getAttribute('data-t3BeSitenameMd5')); var vHWin = window.open(element.getAttribute('data-backendScript'), element.getAttribute('data-t3BeSitenameMd5'), 'noopener=yes');
vHWin.focus(); vHWin.focus();
return false; return false;
} }