--- a/crea/integration/metadataplayer/MusitagAnnotator.js Fri Jun 08 16:21:52 2012 +0200
+++ b/crea/integration/metadataplayer/MusitagAnnotator.js Fri Jun 08 17:42:44 2012 +0200
@@ -13,8 +13,8 @@
api_serializer: "ldt_annotate",
api_endpoint_template: "",
api_method: "PUT",
- close_widget_timeout: 5000,
- annotation_type: "Musitag",
+ close_widget_timeout: 4000,
+ annotation_type: "contributions",
creator_name: "musitag"
};
@@ -221,6 +221,10 @@
_emoticon = new IriSP.Model.Tag(false, _export),
_url = Mustache.to_html(this.api_endpoint_template, {id: this.source.projectId});
+ if (!_annotationTypes.length) {
+ _annotationType.dont_send_id = true;
+ }
+
_color.title = this.annotation.color;
_emoticon.title = this.annotation.emoticon;