mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 08:25:03 +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:
@ -571,7 +571,7 @@ export class et2_dataview
|
||||
{
|
||||
// Clone the table and attach it to the outer body tag
|
||||
var clone = this.table.clone();
|
||||
jQuery(window.top.document.getElementsByTagName("body")[0])
|
||||
jQuery(egw.top.document.getElementsByTagName("body")[0])
|
||||
.append(clone);
|
||||
|
||||
// Read the scrollbar width
|
||||
|
Reference in New Issue
Block a user