mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Make sure we get the actions from the right app
This commit is contained in:
parent
634efff9c4
commit
a5b232d129
@ -160,9 +160,10 @@ var et2_vfs = (function(){ "use strict"; return et2_valueWidget.extend([et2_IDet
|
||||
var widget = this;
|
||||
var defaultAction = null;
|
||||
var object = null;
|
||||
while(links.length == 0 && widget.getParent())
|
||||
var app = this.getInstanceManager().app;
|
||||
while(links.length === 0 && widget.getParent())
|
||||
{
|
||||
object = egw_globalObjectManager.getObjectById(widget.id);
|
||||
object = egw_getAppObjectManager(app).getObjectById(widget.id);
|
||||
if(object && object.manager && object.manager.children)
|
||||
{
|
||||
links = object.manager.children;
|
||||
|
Loading…
Reference in New Issue
Block a user