Skip to content
Snippets Groups Projects
Commit a7cded10 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Allow repo filter tree to expand with single click

parent 3d0aa809
Branches
Tags
1 merge request!25Develop
Pipeline #5611 passed with stages
in 24 seconds
...@@ -160,6 +160,10 @@ ...@@ -160,6 +160,10 @@
"plugins": ["themes", "checkbox"] "plugins": ["themes", "checkbox"]
}) })
$("#jstree").on('select_node.jstree', function (e, data) {
data.instance.toggle_node(data.node);
});
$("#jstree").bind("check_node.jstree uncheck_node.jstree", function (e, data) { $("#jstree").bind("check_node.jstree uncheck_node.jstree", function (e, data) {
var checked = $("#jstree").jstree("get_checked") var checked = $("#jstree").jstree("get_checked")
var filter = [] var filter = []
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment