equal
deleted
inserted
replaced
128 _this.source.merge(_export); |
128 _this.source.merge(_export); |
129 if (_this.pause_on_write && _this.player.popcorn.media.paused) { |
129 if (_this.pause_on_write && _this.player.popcorn.media.paused) { |
130 _this.player.popcorn.play(); |
130 _this.player.popcorn.play(); |
131 } |
131 } |
132 /* On force le rafraîchissement du widget AnnotationsList */ |
132 /* On force le rafraîchissement du widget AnnotationsList */ |
133 _this.player.popcorn.trigger("IriSP.AnnotationsList.refresh"); |
133 _this.player.trigger("AnnotationsList.refresh"); |
134 }, |
134 }, |
135 error: function(_xhr, _error, _thrown) { |
135 error: function(_xhr, _error, _thrown) { |
136 console.log("Error when sending annotation", _thrown); |
136 console.log("Error when sending annotation", _thrown); |
137 _export.getAnnotations().removeElement(_annotation, true); |
137 _export.getAnnotations().removeElement(_annotation, true); |
138 } |
138 } |