1
0
Fork 0
forked from 0x2620/oxjs

fix bugs in video editor; begin to implement new list map mode that allows for defining/clearing places

This commit is contained in:
rlx 2012-02-04 08:58:46 +00:00
commit 3c94f44a99
15 changed files with 437 additions and 255 deletions

View file

@ -396,9 +396,8 @@ Ox.AnnotationFolder = function(options, self) {
}
function isDefined(item) {
return self.options.type == 'event'
? item.event.start !== ''
: item.place.lat !== null;
return !!item[self.options.type]
&& !!item[self.options.type].type;
}
function removeAnnotation(data) {