update item info on addAnnotation too

This commit is contained in:
j 2012-09-10 10:23:09 +02:00
parent e5107d8610
commit 8ac1db8442

View file

@ -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: