src/widgets/Controller.js
branchnew-model
changeset 904 510ebab76fa3
parent 882 61c384dda19e
child 917 eb8677d3a663
equal deleted inserted replaced
903:d9da52e20f7f 904:510ebab76fa3
    98     
    98     
    99     // handle clicks
    99     // handle clicks
   100     this.$playButton.click(this.functionWrapper("playHandler"));
   100     this.$playButton.click(this.functionWrapper("playHandler"));
   101     
   101     
   102     this.$.find(".Ldt-Ctrl-Annotate").click(function() {
   102     this.$.find(".Ldt-Ctrl-Annotate").click(function() {
   103         _this.player.popcorn.trigger("IriSP.Player.AnnotateButton.clicked");
   103         _this.player.popcorn.trigger("IriSP.CreateAnnotation.toggle");
   104     });
   104     });
   105     this.$.find(".Ldt-Ctrl-SearchBtn").click(this.functionWrapper("searchButtonHandler"));
   105     this.$.find(".Ldt-Ctrl-SearchBtn").click(this.functionWrapper("searchButtonHandler"));
   106     
   106     
   107     this.$searchInput.keyup(this.functionWrapper("searchHandler") );
   107     this.$searchInput.keyup(this.functionWrapper("searchHandler") );
   108   
   108