src/widgets/CreateAnnotation.js
changeset 986 f9d51dd4a3fe
parent 982 cfcbac34d020
child 988 eefd336335f9
equal deleted inserted replaced
985:9859c4bae904 986:f9d51dd4a3fe
   387     
   387     
   388     /*
   388     /*
   389      * Nous remplissons les données de l'annotation générée à la volée
   389      * Nous remplissons les données de l'annotation générée à la volée
   390      * ATTENTION: Si nous sommes sur un MASHUP, ces éléments doivent se référer AU MEDIA D'ORIGINE
   390      * ATTENTION: Si nous sommes sur un MASHUP, ces éléments doivent se référer AU MEDIA D'ORIGINE
   391      * */
   391      * */
       
   392     _annotation.setMedia(this.source.currentMedia.id); /* Id du média annoté */
   392     _annotation.setBegin(this.begin); /*Timecode de début */
   393     _annotation.setBegin(this.begin); /*Timecode de début */
   393     _annotation.setEnd(this.end); /* Timecode de fin */
   394     _annotation.setEnd(this.end); /* Timecode de fin */
   394     _annotation.setMedia(this.source.currentMedia.id); /* Id du média annoté */
       
   395    
   395    
   396     _annotation.setAnnotationType(_annotationType.id); /* Id du type d'annotation */
   396     _annotation.setAnnotationType(_annotationType.id); /* Id du type d'annotation */
   397     if (this.show_title_field) {
   397     if (this.show_title_field) {
   398         /* Champ titre, seulement s'il est visible */
   398         /* Champ titre, seulement s'il est visible */
   399         _annotation.title = this.$.find(".Ldt-CreateAnnotation-Title").val();
   399         _annotation.title = this.$.find(".Ldt-CreateAnnotation-Title").val();