mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
method to get data of a node by its id
This commit is contained in:
parent
9835eca80f
commit
ec989fc535
@ -612,6 +612,17 @@ var et2_tree = et2_inputWidget.extend(
|
||||
return null;
|
||||
},
|
||||
|
||||
/**
|
||||
* Get node data by id
|
||||
*
|
||||
* @param {string} _id id of node
|
||||
* @return {object} object with attributes id, im0-2, text, tooltip, ... as set via select_options or autoload url
|
||||
*/
|
||||
getNode: function(_id)
|
||||
{
|
||||
return this._find_in_item(_id, this.options.select_options);
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets label of an item by id
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user