Merge pull request #12 from DanielSiepmann/bugfix/handle-js-context

Fix none working backend
This commit is contained in:
Benni Mack 2020-09-25 08:31:42 +02:00 committed by GitHub
commit ac3b7cc4a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
} }