Commit 437a903f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

annotations are not grouped in info window

parent 9ec1f9a5
Pipeline #5120 passed with stage
in 1 minute and 48 seconds
......@@ -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);
......
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