Make sure we get the actions from the right app

This commit is contained in:
nathangray 2018-07-30 08:57:56 -06:00
parent 634efff9c4
commit a5b232d129

View File

@ -160,9 +160,10 @@ var et2_vfs = (function(){ "use strict"; return et2_valueWidget.extend([et2_IDet
var widget = this; var widget = this;
var defaultAction = null; var defaultAction = null;
var object = 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) if(object && object.manager && object.manager.children)
{ {
links = object.manager.children; links = object.manager.children;