This commit is contained in:
Ross
2021-12-04 22:42:01 +00:00
parent e8fc3090eb
commit af31ffb834
+6 -17
View File
@@ -92,13 +92,10 @@ This series is not associated with any cases.
$("#hidden-form").hide()
});
{
%
if editing_finding > 0 %
}
$("#hidden-form").show() {
% endif %
}
{% if editing_finding > 0 %}
$("#hidden-form").show()
{% endif %}
$("#reset-viewport-button").click(() => {
dicom_element = $(".cornerstone-element").get(0);
@@ -138,17 +135,9 @@ This series is not associated with any cases.
type: 'POST',
url: '{% url "atlas:add_finding" %}',
data: {
series_finding_id: {
{
editing_finding
}
},
series_finding_id: {{ editing_finding }},
description: $('#id_description').val(),
series: {
{
series.pk
}
},
series: {{ series.pk }},
//annotation_json: JSON.stringify(c.toolStateManager.saveToolState()),
annotation_json: JSON.stringify(cornerstoneTools.globalImageIdSpecificToolStateManager
.saveToolState()),