BUGFIX Fixed $('.cms-tree').getNodeByID(), was always returning tree instance instead of node because 'get_node' isn't a public method, hence ignored

This commit is contained in:
Ingo Schommer 2012-03-06 21:36:53 +01:00
parent e147971910
commit f39680206a

View File

@ -189,7 +189,7 @@
* DOMElement * DOMElement
*/ */
getNodeByID: function(id) { getNodeByID: function(id) {
return this.jstree('get_node', this.find('*[data-id='+id+']')); return this.find('*[data-id='+id+']');
}, },
/** /**