mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 02:18:31 +02:00
Changes to action system:
- Change selected to not start at global root - fixes key handler only working for 1 app - Add depth limit for finding action / object (depth first search) - Use depth limit when looking for top level application action/object to avoid crossing apps
This commit is contained in:
@ -400,7 +400,8 @@ var et2_DOMWidget = et2_widget.extend(et2_IDOMNode,
|
||||
}
|
||||
|
||||
// Initialize the action manager and add some actions to it
|
||||
var gam = egw_getAppActionManager();
|
||||
// Only look 1 level deep
|
||||
var gam = egw_getActionManager(this.egw().appName,true,1);
|
||||
if(typeof this._actionManager != "object")
|
||||
{
|
||||
if(gam.getActionById(this.id) != null)
|
||||
|
Reference in New Issue
Block a user