# HG changeset patch # User durandn # Date 1435934921 -7200 # Node ID c1bc8a2b14682e0ddaf7d86f6b213f5211abe671 # Parent 31fd2904ec57ed9141fa382e8f66565ef2ff5bc6 Allow the annotation serializer to extract project_id for use in some widget when it is provided in the data diff -r 31fd2904ec57 -r c1bc8a2b1468 src/js/serializers/ldt_annotate.js --- a/src/js/serializers/ldt_annotate.js Mon May 04 15:36:39 2015 +0200 +++ b/src/js/serializers/ldt_annotate.js Fri Jul 03 16:48:41 2015 +0200 @@ -17,6 +17,7 @@ }, tags: _data.getTagTexts(), media: _data.getMedia().id, + project: _data.project_id, type_title: _annType.title, type: ( typeof _annType.dont_send_id !== "undefined" && _annType.dont_send_id ? "" : _annType.id ), meta: {