src/js/widgets/createAnnotationWidget.js
changeset 873 a6602ce57aca
parent 867 43f615b4dc48
equal deleted inserted replaced
871:a5607fa1ef0b 873:a6602ce57aca
   354                       }
   354                       }
   355 
   355 
   356                       if (_this._state == "waitScreen") {
   356                       if (_this._state == "waitScreen") {
   357                         _this.showEndScreen(annotation);
   357                         _this.showEndScreen(annotation);
   358                         if (_this.cinecast_version) {
   358                         if (_this.cinecast_version) {
   359                           window.setTimeout(function() { _this.showStartScreen(); }, typeof this.disable_share !== "undefined" && this.disable_share ? 5000 : 10000);
   359                           window.setTimeout(function() { _this.showStartScreen(); }, _this.return_delay);
   360                         }
   360                         }
   361                       }
   361                       }
   362                       // hide the slicer widget
   362                       // hide the slicer widget
   363                       if (!_this.cinecast_version) {                      
   363                       if (!_this.cinecast_version) {                      
   364                         _this._Popcorn.trigger("IriSP.SliceWidget.hide");
   364                         _this._Popcorn.trigger("IriSP.SliceWidget.hide");