--- a/src/ldt/ldt/static/ldt/metadataplayer/CreateAnnotation.js Thu Oct 04 16:16:59 2012 +0200
+++ b/src/ldt/ldt/static/ldt/metadataplayer/CreateAnnotation.js Thu Oct 04 19:07:33 2012 +0200
@@ -337,7 +337,7 @@
IriSP.Widgets.CreateAnnotation.prototype.onSubmit = function() {
/* Si les champs obligatoires sont vides, on annule l'envoi */
if (!this.onDescriptionChange() || (this.show_title_field && !this.onTitleChange()) || (this.show_creator_field && !this.onCreatorChange())) {
- return;
+ return false;
}
if (this.recorder) {