mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
e147971910
commit
f39680206a
@ -189,7 +189,7 @@
|
||||
* DOMElement
|
||||
*/
|
||||
getNodeByID: function(id) {
|
||||
return this.jstree('get_node', this.find('*[data-id='+id+']'));
|
||||
return this.find('*[data-id='+id+']');
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user