diff -r 0dd21c298380 -r 6397a2ca3a67 src/js/widgets/createAnnotationWidget.js --- a/src/js/widgets/createAnnotationWidget.js Fri Mar 09 17:29:23 2012 +0100 +++ b/src/js/widgets/createAnnotationWidget.js Fri Mar 09 18:11:42 2012 +0100 @@ -235,6 +235,8 @@ this.selector.find(".Ldt-createAnnotation-screen").hide(); this.selector.find(".Ldt-createAnnotation-errorScreen").show(); this._state = "errorScreen"; + var _this = this; + window.setTimeout(function() { _this.showStartScreen(); }, 2000); }; /** update show the final screen with links to share the created annotation */ @@ -293,7 +295,7 @@ if (_this._state == "waitScreen") { _this.showEndScreen(annotation); if (_this.cinecast_version) { - window.setTimeout(IriSP.wrap(_this, function() { this.showStartScreen(); }), 5000); + window.setTimeout(function() { _this.showStartScreen(); }, 5000); } } // hide the slicer widget