Commit 3ce2b189 authored by Maxime Chazalviel's avatar Maxime Chazalviel

fix refresh of pathways

parent 89a43d4f
......@@ -107,8 +107,10 @@ Ext.define('metExploreViz.view.form.captionForm.CaptionFormController', {
comp.setHidden(!newValue);
d3.select("#" + panelLinked).select("#D3viz").selectAll("path.convexhull")
.classed("hide", function (conv) {
if (view.getTitle() == "Pathways")
if (view.getTitle() == "Pathways"){
var com = metExploreD3.getPathwayByName(conv.key, panelLinked);
if(com.isCollapsed()) return true;
}
else
var com = metExploreD3.getCompartmentByName(conv.key);
if(com)
......
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