(testing...)
This commit is contained in:
parent
453b98f388
commit
5aaf951c6b
1 changed files with 9 additions and 1 deletions
|
@ -415,7 +415,7 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
}
|
||||
|
||||
function getAnnotations() {
|
||||
return Ox.filter(self.options.items, function(item) {
|
||||
var annotations = Ox.filter(self.options.items, function(item) {
|
||||
return self.editing && item.id == self.options.selected || (
|
||||
(
|
||||
self.options.range == 'all' || (
|
||||
|
@ -438,6 +438,14 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
)
|
||||
);
|
||||
});
|
||||
if (self.options.type == 'entity') {
|
||||
annotations = annotations.map(function(annotation) {
|
||||
annotation.value = annotation.value
|
||||
+ ' <a href="' + annotation.entity.id + '">\u24D8</a>';
|
||||
return annotation;
|
||||
});
|
||||
}
|
||||
return annotations;
|
||||
}
|
||||
|
||||
function getEvents() {
|
||||
|
|
Loading…
Reference in a new issue