(testing...)
This commit is contained in:
parent
d6a1dae8b8
commit
e762ec9137
1 changed files with 5 additions and 1 deletions
|
@ -339,7 +339,11 @@ Ox.AnnotationFolder = function(options, self) {
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
self.$annotations.options({
|
self.$annotations.options({
|
||||||
items: self.annotations,
|
items: self.options.type == 'entity'
|
||||||
|
? self.annotations.map(function(annotation) {
|
||||||
|
return annotation.entity.name;
|
||||||
|
})
|
||||||
|
: self.annotations,
|
||||||
placeholder: getPlaceholder(),
|
placeholder: getPlaceholder(),
|
||||||
selected: self.options.selected
|
selected: self.options.selected
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue