mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-22 14:36:08 +01:00
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:
parent
00657f5b15
commit
3b3f15606a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue