src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 464 dd543fb9d38a
parent 418 06d2aa32c5f4
child 473 1a09ab7e7163
--- a/src/js/widgets/segmentsWidget.js	Wed Dec 14 16:37:27 2011 +0100
+++ b/src/js/widgets/segmentsWidget.js	Wed Dec 14 16:37:47 2011 +0100
@@ -122,6 +122,7 @@
 };
 
 IriSP.SegmentsWidget.prototype.clickHandler = function(annotation) {
+  this._Popcorn.trigger("IriSP.SegmentsWidget.click", annotation.id);
   var begin = (+ annotation.begin) / 1000;
   this._Popcorn.currentTime(Math.round(begin));
 };