--- a/src/metadatacomposer/static/metadatacomposer/js/edition.js Tue Jun 11 17:13:16 2013 +0200
+++ b/src/metadatacomposer/static/metadatacomposer/js/edition.js Tue Jun 11 17:28:59 2013 +0200
@@ -46,6 +46,8 @@
} else {
chapterAnnType = anntypes[0];
}
+
+ chapterAnnType.media = myMedia;
chapters = chapterAnnType.getAnnotations();
if(!chapters.length){
@@ -72,6 +74,8 @@
} else {
annotationsAnnType = anntypes[0];
}
+
+ annotationsAnnType.media = myMedia;
annotations = annotationsAnnType.getAnnotations();
$.each(annotations, function(k, v){