Skip to content
Snippets Groups Projects
Commit 8d7f95af authored by Piotr Gawron's avatar Piotr Gawron
Browse files

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

element title option didn't hide title

See merge request !923
parents fec173b1 926656e6
No related branches found
No related tags found
2 merge requests!925Merge 13.2.0,!923element title option didn't hide title
Pipeline #13384 passed
...@@ -3,6 +3,8 @@ minerva (13.2.0) stable; urgency=medium ...@@ -3,6 +3,8 @@ minerva (13.2.0) stable; urgency=medium
PredictProtein (#913) PredictProtein (#913)
* Bug fix: search by drugs didn't check synonyms in chembl database * Bug fix: search by drugs didn't check synonyms in chembl database
* Bug fix: verification of overlay type added (#917) * 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 -- Piotr Gawron <piotr.gawron@uni.lu> Wed, 21 Aug 2019 17:00:00 +0200
......
...@@ -835,9 +835,17 @@ GuiUtils.prototype.createAliasElement = function (params) { ...@@ -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()) { 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({ div.appendChild(self.createSubMapLink({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment