.
This commit is contained in:
@@ -115,16 +115,13 @@
|
||||
for (const image of images) {
|
||||
json_toolstates.push(JSON.stringify(toolstate[image]));
|
||||
}
|
||||
|
||||
|
||||
|
||||
console.log(json_toolstates);
|
||||
return
|
||||
|
||||
$.ajax({
|
||||
url: "{% url 'rapids:question_save_annotation' pk=question.pk %}",
|
||||
data: {
|
||||
csrfmiddlewaretoken: "{{ csrf_token }}",
|
||||
annotation: json,
|
||||
// Yes we do double encode the json....
|
||||
annotation: JSON.stringify(json_toolstates),
|
||||
},
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
|
||||
Reference in New Issue
Block a user