src/js/widgets/createAnnotationWidget.js
branchpopcorn-port
changeset 563 4816e3425933
parent 562 643614f78c44
child 570 244f04a9af85
equal deleted inserted replaced
562:643614f78c44 563:4816e3425933
    82       this.selector.find(".Ldt-createAnnotation-TimeFrame").html(timeTemplate);
    82       this.selector.find(".Ldt-createAnnotation-TimeFrame").html(timeTemplate);
    83     }
    83     }
    84     
    84     
    85     this.selector.show();
    85     this.selector.show();
    86     this._hidden = false;
    86     this._hidden = false;
       
    87     
       
    88     // block the arrow.
       
    89     this._Popcorn.trigger("IriSP.ArrowWidget.blockArrow");
    87   }
    90   }
    88 };
    91 };
    89 
    92 
    90 /** watch for changes in the textfield and change the buttons accordingly */
    93 /** watch for changes in the textfield and change the buttons accordingly */
    91 IriSP.createAnnotationWidget.prototype.handleTextChanges = function(event) {
    94 IriSP.createAnnotationWidget.prototype.handleTextChanges = function(event) {
   131                     }
   134                     }
   132                  }));
   135                  }));
   133   } else {
   136   } else {
   134     this.selector.find(".Ldt-createAnnotation-DoubleBorder").children().hide();
   137     this.selector.find(".Ldt-createAnnotation-DoubleBorder").children().hide();
   135     this.selector.find(".Ldt-createAnnotation-endScreen").show();
   138     this.selector.find(".Ldt-createAnnotation-endScreen").show();
       
   139     this._Popcorn.trigger("IriSP.ArrowWidget.releaseArrow");
   136   }
   140   }
   137 };
   141 };