Commit 8d7f95af authored by Piotr Gawron's avatar Piotr Gawron

Merge branch '910-element-title' into 'devel_13.2.x'

element title option didn't hide title

See merge request !923
parents fec173b1 926656e6
Pipeline #13384 passed with stage
in 10 minutes and 56 seconds
......@@ -3,6 +3,8 @@ minerva (13.2.0) stable; urgency=medium
PredictProtein (#913)
* Bug fix: search by drugs didn't check synonyms in chembl database
* Bug fix: verification of overlay type added (#917)
* Bug fix: show element title option wasn't influencing title visibility
(#910)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 21 Aug 2019 17:00:00 +0200
......
......@@ -835,9 +835,17 @@ GuiUtils.prototype.createAliasElement = function (params) {
}));
}
div.appendChild(this.createParamLine({label: alias.getType() + ": ", value: alias.getName()}));
div.appendChild(this.createParamLine({
label: alias.getType() + ": ",
className: self._configurationOptionToClassName(ConfigurationType.SHOW_ELEMENT_TITLE),
value: alias.getName()
}));
if (alias.getModelId() !== self.getMap().getId()) {
div.appendChild(self.createSubMapLink({label: "In submap: ", mapId: alias.getModelId()}));
div.appendChild(self.createSubMapLink({
label: "In submap: ",
className: self._configurationOptionToClassName(ConfigurationType.SHOW_ELEMENT_TITLE),
mapId: alias.getModelId()
}));
}
}
div.appendChild(self.createSubMapLink({
......
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