From e762ec913730287a2fa76512c0777ec95a00fa7b Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 16 Dec 2014 16:04:53 +0000 Subject: [PATCH] (testing...) --- source/UI/js/Video/AnnotationFolder.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/UI/js/Video/AnnotationFolder.js b/source/UI/js/Video/AnnotationFolder.js index 6c496556..4b01a512 100644 --- a/source/UI/js/Video/AnnotationFolder.js +++ b/source/UI/js/Video/AnnotationFolder.js @@ -339,7 +339,11 @@ Ox.AnnotationFolder = function(options, self) { setTimeout(function() { self.$annotations.options({ - items: self.annotations, + items: self.options.type == 'entity' + ? self.annotations.map(function(annotation) { + return annotation.entity.name; + }) + : self.annotations, placeholder: getPlaceholder(), selected: self.options.selected });