forked from extern/egroupware
When applying (call a function) call it on the request window, not current - they may be different
This commit is contained in:
parent
d6b2155dc2
commit
b4007621f7
@ -313,7 +313,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
||||
{
|
||||
var parts = res.data.func.split('.');
|
||||
var func = parts.pop();
|
||||
var parent = window;
|
||||
var parent = req.egw.window;
|
||||
for(var i=0; i < parts.length && typeof parent[parts[i]] != 'undefined'; ++i)
|
||||
{
|
||||
parent = parent[parts[i]];
|
||||
|
Loading…
Reference in New Issue
Block a user