src/widgets/CreateAnnotation.js
branchnew-model
changeset 931 0fdce6e14748
parent 928 5aadbc9f27cd
child 957 4da0a5740b6c
child 1019 3ab36f402b0c
--- a/src/widgets/CreateAnnotation.js	Fri Jul 27 19:22:54 2012 +0200
+++ b/src/widgets/CreateAnnotation.js	Tue Aug 21 18:54:36 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 */
         },