forked from 0x2620/pandora
update item info on addAnnotation too
This commit is contained in:
parent
e5107d8610
commit
8ac1db8442
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue