Skip to content

Commit

Permalink
Update comments in core.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dougthor42 committed May 13, 2019
1 parent 34be28a commit 792983a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/trendlines/static/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ function populateTree(data, metricId) {
selectNodeById(tree, metricId);
});

// Really just here in case it's needed
tree.on("changed.jstree", function (e, data) {
});

// Open all of the nodes by default
tree.on("loaded.jstree", function () {
tree.jstree('open_all');
});

// Update the plot or toggle the node open/closed.
tree.on('select_node.jstree', function(e, data) {
treeChanged(e, data);
});
Expand Down

0 comments on commit 792983a

Please sign in to comment.