diff -r 458e9754d1cf -r 6a90c96f0b4c src/widgets/Segments.js --- a/src/widgets/Segments.js Fri Jan 25 18:47:43 2013 +0100 +++ b/src/widgets/Segments.js Mon Jan 28 18:17:26 2013 +0100 @@ -22,7 +22,7 @@ + '
'; IriSP.Widgets.Segments.prototype.annotationTemplate = - '' @@ -83,7 +83,9 @@ top: _top, height: _this.line_height - 1, id : _annotation.id, - media_id : _annotation.getMedia().id + media_id : _annotation.getMedia().id, + from: _annotation.begin.toString(), + to: _annotation.end.toString() }; var _html = Mustache.to_html(_this.annotationTemplate, _data), _el = IriSP.jQuery(_html);