mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
wrong window was used when compiling list of already included scripts or css files, fixes missing css styles for context menu in popups (list of links)
This commit is contained in:
parent
c48e63df8a
commit
f47e38f320
@ -102,13 +102,13 @@ egw.extend('files', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
*/
|
||||
var files = [];
|
||||
// add already included scripts
|
||||
var tags = $j('script');
|
||||
var tags = jQuery('script', _wnd.document);
|
||||
for(var i=0; i < tags.length; ++i)
|
||||
{
|
||||
files.push(removeTS(tags[i].src));
|
||||
}
|
||||
// add already included css
|
||||
tags = $j('link[type="text/css"]');
|
||||
tags = jQuery('link[type="text/css"]', _wnd.document);
|
||||
for(var i=0; i < tags.length; ++i)
|
||||
{
|
||||
files.push(removeTS(tags[i].href));
|
||||
|
Loading…
Reference in New Issue
Block a user