fixed action _target.id was id of tree and not of action

This commit is contained in:
Ralf Becker 2013-07-22 06:34:01 +00:00
parent f4a6c9859a
commit f0808f09af

View File

@ -345,7 +345,7 @@ var et2_tree = et2_inputWidget.extend(
var apply_actions = function(treeObj, option)
{
// Add a new action object to the object manager
var obj = treeObj.addObject(this.id, new dhtmlxtreeItemAOI(this.input, option.id));
var obj = treeObj.addObject(option.id, new dhtmlxtreeItemAOI(this.input, option.id));
obj.updateActionLinks(action_links);
if(option.item && option.item.length > 0)