From 8ac1db8442c68433025d6633f33a1c57c742a85a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 10 Sep 2012 10:23:09 +0200 Subject: [PATCH] update item info on addAnnotation too --- pandora/annotation/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/annotation/views.py b/pandora/annotation/views.py index 51d70a6ce..9a3c42604 100644 --- a/pandora/annotation/views.py +++ b/pandora/annotation/views.py @@ -151,6 +151,7 @@ def addAnnotation(request): start=float(data['in']), end=float(data['out']), value=data['value']) annotation.save() + update_item.delay(annotation.id) response = json_response(annotation.json()) response['data']['editable'] = True else: