forked from extern/egroupware
To work around a bug in action system we call global actionManger of an application NOT just appname, but prefix it with "__"
This commit is contained in:
parent
bb07598beb
commit
da60fe1228
@ -127,9 +127,14 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
|
||||
if(_actions == null) _actions = [];
|
||||
|
||||
// Initialize the action manager and add some actions to it
|
||||
var gam = egw_getActionManager(this.egw.appName);
|
||||
// To work around a bug in action system we call global actionManger
|
||||
// of an application NOT just appname, but prefix it with "__"
|
||||
// If it is called just appname, actionLinks of actions with id
|
||||
// of an application fetch that applications menu as children,
|
||||
// if that applications tab is open in toplevel window.
|
||||
var gam = egw_getActionManager('__'+this.egw.appName);
|
||||
this._actionManager = gam.addAction("actionManager", uid);
|
||||
this._actionManager.updateActions(_actions);
|
||||
this._actionManager.updateActions(_actions, this.egw.appName);
|
||||
var data = this._actionManager.data;
|
||||
if (data == 'undefined' || !data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user