diff --git a/omeroweb/webclient/static/webclient/javascript/ome.right_panel_customanns_pane.js b/omeroweb/webclient/static/webclient/javascript/ome.right_panel_customanns_pane.js index 38bac83361..e99651c42d 100644 --- a/omeroweb/webclient/static/webclient/javascript/ome.right_panel_customanns_pane.js +++ b/omeroweb/webclient/static/webclient/javascript/ome.right_panel_customanns_pane.js @@ -85,7 +85,7 @@ var CustomAnnsPane = function CustomAnnsPane($element, opts) { ann.addedBy = [ann.link.owner.id]; // convert 'class' to 'type' E.g. XmlAnnotationI to Xml ann.type = ann.class.replace('AnnotationI', ''); - var attrs = ['textValue', 'timeValue', 'termValue', 'longValue', 'doubleValue', 'boolValue']; + var attrs = ['name', 'textValue', 'timeValue', 'termValue', 'longValue', 'doubleValue', 'boolValue']; attrs.forEach(function(a){ if (ann[a] !== undefined){ ann.value = ann[a]; diff --git a/omeroweb/webclient/templates/webclient/annotations/custom_ann_tooltip.html b/omeroweb/webclient/templates/webclient/annotations/custom_ann_tooltip.html index c4a264ae51..50922a2071 100644 --- a/omeroweb/webclient/templates/webclient/annotations/custom_ann_tooltip.html +++ b/omeroweb/webclient/templates/webclient/annotations/custom_ann_tooltip.html @@ -21,6 +21,7 @@