Maintenance - Mise à jour mensuelle Lundi 6 Avril 2020 entre 7h00 et 9h00

Commit 96f4033a authored by maxchaza's avatar maxchaza

fix bad parsing

parent 2c2b25ae
......@@ -690,8 +690,8 @@ Ext.define('metExploreViz.view.form.selectConditionForm.SelectConditionFormContr
{
color.setValue(newValue);
var mappingName = selectedCondition.split("_")[0];
var conditionName = selectedCondition.split("_")[1];
var mappingName = selectedCondition.split(" / ")[0];
var conditionName = selectedCondition.split(" / ")[1];
metExploreD3.GraphStyleEdition.setCollectionStyleDiscreteMapping(aStyleFormParent.target, aStyleFormParent.attrType, aStyleFormParent.attrName, aStyleFormParent.biologicalType, conditionName, mappingName, color.getName(), color.getValue());
......@@ -746,8 +746,8 @@ Ext.define('metExploreViz.view.form.selectConditionForm.SelectConditionFormContr
var newColor = evt.target.value;
color.setValue(newColor);
var mappingName = selectedCondition.split("_")[0];
var conditionName = selectedCondition.split("_")[1];
var mappingName = selectedCondition.split(" / ")[0];
var conditionName = selectedCondition.split(" / ")[1];
metExploreD3.GraphStyleEdition.setCollectionStyleDiscreteMapping(aStyleFormParent.target, aStyleFormParent.attrType, aStyleFormParent.attrName, aStyleFormParent.biologicalType, conditionName, mappingName, color.getName(), color.getValue());
});
......
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