CurrentSegmentInfobox: fixed bug where editing a segment would not update the source correctly and mess up other widgets.
authordurandn
Tue, 22 Sep 2015 17:07:58 +0200
changeset 1062 f8adaa2caecb
parent 1061 7d22bfd6b73b
child 1063 e9765601184d
CurrentSegmentInfobox: fixed bug where editing a segment would not update the source correctly and mess up other widgets.
src/widgets/CurrentSegmentInfobox.js
--- a/src/widgets/CurrentSegmentInfobox.js	Tue Sep 22 12:04:36 2015 +0200
+++ b/src/widgets/CurrentSegmentInfobox.js	Tue Sep 22 17:07:58 2015 +0200
@@ -266,7 +266,6 @@
                 _this.$.find(".Ldt-CurrentSegmentInfobox").click(_this.functionWrapper("enableEditMode"));             
             }
             _this.$.toggleClass("editing", false);
-            _this.player.trigger("AnnotationsList.refresh"); /* On force le rafraîchissement du widget AnnotationsList */
         },
         error: function(_xhr, _error, _thrown) {
             IriSP.log("Error when sending annotation", _thrown);