mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
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 parts = res.data.func.split('.');
|
||||||
var func = parts.pop();
|
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)
|
for(var i=0; i < parts.length && typeof parent[parts[i]] != 'undefined'; ++i)
|
||||||
{
|
{
|
||||||
parent = parent[parts[i]];
|
parent = parent[parts[i]];
|
||||||
|
Loading…
Reference in New Issue
Block a user