src/js/widgets/annotationsListWidget.js
branchpopcorn-port
changeset 730 357fc047503b
parent 729 7ba63d0315ad
child 745 a996a24e07d6
equal deleted inserted replaced
729:7ba63d0315ad 730:357fc047503b
   181   } else {
   181   } else {
   182     /* update the widget when the video has finished loading and when it's seeked and paused */
   182     /* update the widget when the video has finished loading and when it's seeked and paused */
   183     this._Popcorn.listen("seeked", IriSP.wrap(this, this.ajaxRedraw));
   183     this._Popcorn.listen("seeked", IriSP.wrap(this, this.ajaxRedraw));
   184     this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.ajaxRedraw));
   184     this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.ajaxRedraw));
   185     this._Popcorn.listen("paused", IriSP.wrap(this, this.ajaxRedraw));
   185     this._Popcorn.listen("paused", IriSP.wrap(this, this.ajaxRedraw));
       
   186     
       
   187     this._Popcorn.listen("IriSP.createAnnotationWidget.addedAnnotation", IriSP.wrap(this, this.ajaxRedraw));
   186   }
   188   }
   187 
   189 
   188 };
   190 };
   189 
   191 
   190 IriSP.AnnotationsListWidget.prototype.redraw = function() {
   192 IriSP.AnnotationsListWidget.prototype.redraw = function() {