add widget function to reSelect an Item without firing the events

This commit is contained in:
Klaus Leithoff 2014-01-21 17:10:48 +00:00
parent 87473ae76b
commit 22aa7fc0c8

View File

@ -696,6 +696,16 @@ var et2_tree = et2_inputWidget.extend(
return is_open;
},
/**
* reSelectItem, reselects an item by id
* @param _id ID of the node
*/
reSelectItem: function(_id)
{
if (this.input == null) return null;
this.input.selectItem(_id,false,false);
},
/**
* Set images for a specific node or all new nodes (default)
*