From e6755fa8047e8e26cc51013da44c358e6a01e251 Mon Sep 17 00:00:00 2001 From: kikito Date: Wed, 16 Dec 2015 18:05:52 +0100 Subject: [PATCH] Fixes typo in annotable.js.coffee --- app/assets/javascripts/annotable.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/annotable.js.coffee b/app/assets/javascripts/annotable.js.coffee index f803ab765..3bdc0d79b 100644 --- a/app/assets/javascripts/annotable.js.coffee +++ b/app/assets/javascripts/annotable.js.coffee @@ -10,7 +10,7 @@ App.Annotable = .include(annotator.ui.main, { element: this }) .include(annotator.storage.http, { prefix: "", urls: { search: "/annotations/search" } }) .include -> - beforeannotationCreated: (ann) -> + beforeAnnotationCreated: (ann) -> ann[ann_type + "_id"] = ann_id ann.user_id = ann_user_id