Commit c87802f1 authored by Piotr Gawron's avatar Piotr Gawron

target gene contains also information about type of database

parent 087591b4
Pipeline #10662 passed with stage
in 9 minutes and 25 seconds
......@@ -10,6 +10,8 @@ minerva (14.0.0~alpha.0) unstable; urgency=low
* Small improvement: when removing overlay in admin panel there is a
confirmation dialog (#696)
* Small improvement: overlay name is obligatory (#698)
* Small improvement: target gene in search panel contains also information
about type of database that identifies the target (#66)
* Bug fix: export to CellDesigner of reaction with two modifiers connected
with boolean operator resulted was skipping some layout information
* Bug fix: reaction in SBGNML file containing two products was improperly
......
......@@ -426,7 +426,7 @@ AbstractDbPanel.prototype.createTargetRow = function (target, icon) {
descColumn.appendChild(guiUtils.createAnnotations({
label: "Elements: ",
annotations: target.getTargetParticipants(),
showType: false,
showType: true,
inline: true,
groupAnnotations: false
}));
......
......@@ -371,13 +371,6 @@ GuiUtils.prototype.createAnnotationList = function (annotations, options) {
Object.keys(grouppedAnnotations).sort().forEach(function (annotatorClass) {
var groupContainer = createGroupContainer(inline, annotatorClass, annotatorsClassMapping, groupAnnotations);
var par;
if (inline) {
par = document.createElement("span");
par.innerHTML = "(";
groupContainer.appendChild(par);
}
grouppedAnnotations[annotatorClass] = grouppedAnnotations[annotatorClass].sort(function (a, b) {
var aType = a.getType().toUpperCase();
var bType = b.getType().toUpperCase();
......@@ -424,12 +417,6 @@ GuiUtils.prototype.createAnnotationList = function (annotations, options) {
}
}
if (inline) {
par = document.createElement("span");
par.innerHTML = ")";
groupContainer.appendChild(par);
}
result.appendChild(groupContainer);
});
......
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