From acbb56da6545589a165efdd85de67c9acf7d7251 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 23 Dec 2014 10:57:01 +0000 Subject: [PATCH] pass entity name to find and findannotations, fixes #2626 --- source/UI/js/Video/AnnotationPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Video/AnnotationPanel.js b/source/UI/js/Video/AnnotationPanel.js index 57c2d7ac..08305d6d 100644 --- a/source/UI/js/Video/AnnotationPanel.js +++ b/source/UI/js/Video/AnnotationPanel.js @@ -224,7 +224,7 @@ Ox.AnnotationPanel = function(options, self) { if (annotation && folder) { key = folder.options('id'); type = folder.options('type'); - value = annotation.value; + value = annotation.entity ? annotation.entity.name : annotation.value; isEditable = annotation.editable; isEvent = type == 'event'; isPlace = type == 'place';