mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 11:38:02 +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:
@ -329,7 +329,8 @@ var et2_tree = et2_inputWidget.extend(
|
||||
_link_actions: function(actions)
|
||||
{
|
||||
// Get the top level element for the tree
|
||||
var objectManager = egw_getAppObjectManager(true);
|
||||
// Only look 1 level deep for application object manager
|
||||
var objectManager = egw_getObjectManager(this.egw().appName,true,1);
|
||||
var treeObj = objectManager.getObjectById(this.id);
|
||||
if (treeObj == null) {
|
||||
// Add a new container to the object manager which will hold the tree
|
||||
|
Reference in New Issue
Block a user