pass entity name to find and findannotations, fixes #2626
This commit is contained in:
parent
8f9a013236
commit
acbb56da65
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ Ox.AnnotationPanel = function(options, self) {
|
||||||
if (annotation && folder) {
|
if (annotation && folder) {
|
||||||
key = folder.options('id');
|
key = folder.options('id');
|
||||||
type = folder.options('type');
|
type = folder.options('type');
|
||||||
value = annotation.value;
|
value = annotation.entity ? annotation.entity.name : annotation.value;
|
||||||
isEditable = annotation.editable;
|
isEditable = annotation.editable;
|
||||||
isEvent = type == 'event';
|
isEvent = type == 'event';
|
||||||
isPlace = type == 'place';
|
isPlace = type == 'place';
|
||||||
|
|
Loading…
Reference in a new issue