src/widgets/CreateAnnotation.js
branchnew-model
changeset 934 aa1ede2e2c29
parent 931 0fdce6e14748
child 957 4da0a5740b6c
child 1019 3ab36f402b0c
--- a/src/widgets/CreateAnnotation.js	Thu Aug 02 18:25:30 2012 +0200
+++ b/src/widgets/CreateAnnotation.js	Fri Aug 24 11:59:40 2012 +0200
@@ -344,8 +344,8 @@
             _export.getAnnotations().removeElement(_annotation, true); /* Pour éviter les doublons, on supprime l'annotation qui a été envoyée */
             _export.deSerialize(_data); /* On désérialise les données reçues pour les réinjecter */
             _this.source.merge(_export); /* On récupère les données réimportées dans l'espace global des données */
-            if (this.pause_on_write && this.player.popcorn.media.paused) {
-                this.player.popcorn.play();
+            if (_this.pause_on_write && _this.player.popcorn.media.paused) {
+                _this.player.popcorn.play();
             }
             _this.player.popcorn.trigger("IriSP.AnnotationsList.refresh"); /* On force le rafraîchissement du widget AnnotationsList */
         },