src/widgets/CreateAnnotation.js
changeset 986 f9d51dd4a3fe
parent 982 cfcbac34d020
child 988 eefd336335f9
--- a/src/widgets/CreateAnnotation.js	Fri Nov 30 10:49:26 2012 +0100
+++ b/src/widgets/CreateAnnotation.js	Wed Dec 19 19:02:52 2012 +0100
@@ -389,9 +389,9 @@
      * Nous remplissons les données de l'annotation générée à la volée
      * ATTENTION: Si nous sommes sur un MASHUP, ces éléments doivent se référer AU MEDIA D'ORIGINE
      * */
+    _annotation.setMedia(this.source.currentMedia.id); /* Id du média annoté */
     _annotation.setBegin(this.begin); /*Timecode de début */
     _annotation.setEnd(this.end); /* Timecode de fin */
-    _annotation.setMedia(this.source.currentMedia.id); /* Id du média annoté */
    
     _annotation.setAnnotationType(_annotationType.id); /* Id du type d'annotation */
     if (this.show_title_field) {