Small fix for better interaction between CreateAnnotation and AnnotationController
--- a/server/src/remie/static/remie/metadataplayer/CreateAnnotation.js Tue Sep 22 10:46:31 2015 +0200
+++ b/server/src/remie/static/remie/metadataplayer/CreateAnnotation.js Tue Sep 22 12:02:55 2015 +0200
@@ -234,7 +234,7 @@
});
this.$.find(".Ldt-CreateAnnotation-Close").click(function() {
_this.close_after_send
- ? _this.hide()
+ ? _this.player.trigger("CreateAnnotation.hide")
: _this.showScreen("Main");
return false;
});
@@ -505,8 +505,8 @@
window.setTimeout(
function() {
_this.close_after_send
- ? _this.hide()
- : _this.show();
+ ? _this.player.trigger("CreateAnnotation.hide")
+ : _this.player.trigger("CreateAnnotation.show");
},
_this.after_send_timeout
);