src/js/widgets/createAnnotationWidget.js
branchpopcorn-port
changeset 616 ff108c38a0c9
parent 614 116de1c38a7d
child 620 fe981f0aab71
equal deleted inserted replaced
615:7eb41c26a8b7 616:ff108c38a0c9
    92           continue;
    92           continue;
    93       }
    93       }
    94       
    94       
    95       code = {start: annotation.begin / 1000, end: annotation.end / 1000,
    95       code = {start: annotation.begin / 1000, end: annotation.end / 1000,
    96               onStart: function(annotation) { return function() {
    96               onStart: function(annotation) { return function() {
    97                       console.log(annotation);
       
    98                       if (typeof(annotation.content) !== "undefined")
    97                       if (typeof(annotation.content) !== "undefined")
    99                         _this.selector.find(".Ldt-createAnnotation-Title").html(annotation.content.title);
    98                         _this.selector.find(".Ldt-createAnnotation-Title").html(annotation.content.title);
   100 
    99 
   101                       _this._currentAnnotation = annotation;
   100                       _this._currentAnnotation = annotation;
   102                       var beginTime = IriSP.msToTime(annotation.begin);
   101                       var beginTime = IriSP.msToTime(annotation.begin);