Commit 4ec3d6f9 authored by Thonier Florian's avatar Thonier Florian

list.js; add show/hide cluster at update call

Link to #3951
parent c67782d9
Pipeline #87928 failed with stages
in 5 minutes and 33 seconds
......@@ -495,9 +495,11 @@ List.prototype = {
if (clone.split) {
span_cluster.onclick = cluster_hide;
span_cluster.appendChild(icon('icon-minus', 'Hide the subclones'));
this.showClusterContent(cloneID, false)
} else {
span_cluster.onclick = cluster_show;
span_cluster.appendChild(icon('icon-plus', 'Show the subclones'));
this.hideClusterContent(cloneID, false)
}
self.div_cluster(document.getElementById("cluster" + cloneID), cloneID);
} else {
......
Markdown is supported
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