equal
deleted
inserted
replaced
257 _this.source.merge(_export); |
257 _this.source.merge(_export); |
258 _this.player.popcorn.trigger("IriSP.AnnotationsList.refresh"); |
258 _this.player.popcorn.trigger("IriSP.AnnotationsList.refresh"); |
259 }, |
259 }, |
260 error: function(_xhr, _error, _thrown) { |
260 error: function(_xhr, _error, _thrown) { |
261 IriSP.log("Error when sending annotation", _thrown); |
261 IriSP.log("Error when sending annotation", _thrown); |
|
262 _export.getAnnotations().removeElement(_annotation, true); |
262 _this.showScreen('Error'); |
263 _this.showScreen('Error'); |
263 window.setTimeout(function(){ |
264 window.setTimeout(function(){ |
264 _this.showScreen("Main") |
265 _this.showScreen("Main") |
265 }, |
266 }, |
266 (_this.close_widget_timeout || 5000)); |
267 (_this.close_widget_timeout || 5000)); |