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

annotations are not grouped in info window

parent 9ec1f9a5
No related branches found
No related tags found
1 merge request!308Resolve "Reverse (drug) search list - no scroll bar"
Pipeline #
......@@ -210,6 +210,15 @@ function createGroupContainer(inline, annotatorClass, annotatorsClassMapping, gr
return groupContainer;
}
/**
*
* @param {Annotation[]} annotations
* @param {Object} [options]
* @param {boolean} [options.showType = true]
* @param {boolean} [options.inline = false]
* @param {boolean} [options.groupAnnotations = true]
* @returns {HTMLDivElement}
*/
GuiUtils.prototype.createAnnotationList = function (annotations, options) {
var showType = true;
var inline = false;
......
......@@ -567,7 +567,7 @@ AbstractInfoWindow.prototype._createTableForTargetDiv = function (data, overlay)
var referencesCell = Functions.createElement({
type: "td"
});
referencesCell.appendChild(self.getGuiUtils().createAnnotationList(annotations));
referencesCell.appendChild(self.getGuiUtils().createAnnotationList(annotations, {groupAnnotations: false}));
row.appendChild(referencesCell);
......
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