From a7cded10e1c7281049ffda7fa9443d93852ca0e7 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Fri, 10 Jan 2020 01:20:17 -0600
Subject: [PATCH] Allow repo filter tree to expand with single click

---
 layouts/custom/repository.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/layouts/custom/repository.html b/layouts/custom/repository.html
index cb09aa7..bbf7b20 100644
--- a/layouts/custom/repository.html
+++ b/layouts/custom/repository.html
@@ -160,6 +160,10 @@
                 "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) {
                 var checked = $("#jstree").jstree("get_checked")
                 var filter = []
-- 
GitLab