diff -r a39ff507b050 -r 165f236e42f2 src/widgets/Segments.js --- a/src/widgets/Segments.js Fri Jul 27 19:22:25 2012 +0200 +++ b/src/widgets/Segments.js Fri Jul 27 19:22:54 2012 +0200 @@ -14,7 +14,7 @@ IriSP.Widgets.Segments.prototype.template = '
{{#segments}}' - + '
' + '{{/segments}}
' + '
' @@ -47,7 +47,8 @@ left : Math.floor( _left ), width : Math.floor( _width ), center : Math.floor( _center ), - id : _annotation.id + id : _annotation.id, + media_id : _annotation.getMedia().id } }) }));