| changeset 123 | 679809037606 |
| parent 50 | 89e152523cb6 |
| child 154 | 60ca7678f074 |
--- a/integration/js/segmentapi-serializer.js Wed Dec 05 15:39:12 2012 +0100 +++ b/integration/js/segmentapi-serializer.js Thu Dec 06 12:38:34 2012 +0100 @@ -16,7 +16,7 @@ _ann.description = _s.abstract; _ann.begin = new IriSP.Model.Time(_s.start_ts); _ann.end = new IriSP.Model.Time(_s.start_ts + _s.duration); - _ann.keywords = _s.tags.split(","); + _ann.keywords = (_s.tags ? _s.tags.split(",") : []); _ann.project_id = _s.project_id; _annotationlist.push(_ann); }