mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix security exception if opener is from a different security context eg. LTI opening in a new window
This commit is contained in:
parent
450febb623
commit
069cf4c3ac
@ -239,7 +239,7 @@
|
||||
|
||||
// Make sure opener knows when we close - start a heartbeat
|
||||
try {
|
||||
if ((popup || window.opener && window.opener.framework) && window.name != '') {
|
||||
if ((window.opener && window.opener.framework || popup) && window.name != '') {
|
||||
// Timeout is 5 seconds, but it iks only applied(egw_utils) when something asks for the window list
|
||||
window.setInterval(function () {
|
||||
if (window.opener && window.opener.framework && typeof window.opener.framework.popup_idx(window) == 'undefined' && !egwIsMobile()) {
|
||||
|
Loading…
Reference in New Issue
Block a user