mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
When creating a new objectManager, use the actionManager at the matching search depth.
Fixes objectManagers using an actionManager from a different application, and failing.
This commit is contained in:
parent
990b9b5fac
commit
1af713097c
@ -91,7 +91,7 @@ function egw_getObjectManager(_id, _create, _search_depth) {
|
||||
res = egw_globalObjectManager.getObjectById(_id, _search_depth);
|
||||
if (res == null && _create) {
|
||||
res = new egwActionObjectManager(_id,
|
||||
egw_getActionManager(_id));
|
||||
egw_getActionManager(_id,true,_search_depth));
|
||||
egw_globalObjectManager.addObject(res);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user