equal
deleted
inserted
replaced
264 _this.$.html(Mustache.to_html(_this.template, _data)) |
264 _this.$.html(Mustache.to_html(_this.template, _data)) |
265 if(_this.editable_segments&&_this.currentSegment){ |
265 if(_this.editable_segments&&_this.currentSegment){ |
266 _this.$.find(".Ldt-CurrentSegmentInfobox").click(_this.functionWrapper("enableEditMode")); |
266 _this.$.find(".Ldt-CurrentSegmentInfobox").click(_this.functionWrapper("enableEditMode")); |
267 } |
267 } |
268 _this.$.toggleClass("editing", false); |
268 _this.$.toggleClass("editing", false); |
269 _this.player.trigger("AnnotationsList.refresh"); /* On force le rafraîchissement du widget AnnotationsList */ |
|
270 }, |
269 }, |
271 error: function(_xhr, _error, _thrown) { |
270 error: function(_xhr, _error, _thrown) { |
272 IriSP.log("Error when sending annotation", _thrown); |
271 IriSP.log("Error when sending annotation", _thrown); |
273 _export.getAnnotations().removeElement(_annotation, true); |
272 _export.getAnnotations().removeElement(_annotation, true); |
274 } |
273 } |