mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 10:28:31 +02:00
track top EGroupware window in egw object to be used as egw.top instead of window.top, which can throw a security exception
This commit is contained in:
@ -33,7 +33,7 @@ function et2_loadXMLFromURL(_url, _callback, _context, _fail_callback) {
|
||||
// catch security exception if opener is from a different domain
|
||||
}
|
||||
if (typeof win == "undefined") {
|
||||
win = top;
|
||||
win = egw.top;
|
||||
}
|
||||
win.jQuery.ajax({
|
||||
// we add the full url (protocol and domain) as sometimes just the path
|
||||
|
Reference in New Issue
Block a user