.
This commit is contained in:
@@ -92,13 +92,10 @@ This series is not associated with any cases.
|
|||||||
$("#hidden-form").hide()
|
$("#hidden-form").hide()
|
||||||
});
|
});
|
||||||
|
|
||||||
{
|
{% if editing_finding > 0 %}
|
||||||
%
|
$("#hidden-form").show()
|
||||||
if editing_finding > 0 %
|
|
||||||
}
|
{% endif %}
|
||||||
$("#hidden-form").show() {
|
|
||||||
% endif %
|
|
||||||
}
|
|
||||||
|
|
||||||
$("#reset-viewport-button").click(() => {
|
$("#reset-viewport-button").click(() => {
|
||||||
dicom_element = $(".cornerstone-element").get(0);
|
dicom_element = $(".cornerstone-element").get(0);
|
||||||
@@ -138,17 +135,9 @@ This series is not associated with any cases.
|
|||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: '{% url "atlas:add_finding" %}',
|
url: '{% url "atlas:add_finding" %}',
|
||||||
data: {
|
data: {
|
||||||
series_finding_id: {
|
series_finding_id: {{ editing_finding }},
|
||||||
{
|
|
||||||
editing_finding
|
|
||||||
}
|
|
||||||
},
|
|
||||||
description: $('#id_description').val(),
|
description: $('#id_description').val(),
|
||||||
series: {
|
series: {{ series.pk }},
|
||||||
{
|
|
||||||
series.pk
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//annotation_json: JSON.stringify(c.toolStateManager.saveToolState()),
|
//annotation_json: JSON.stringify(c.toolStateManager.saveToolState()),
|
||||||
annotation_json: JSON.stringify(cornerstoneTools.globalImageIdSpecificToolStateManager
|
annotation_json: JSON.stringify(cornerstoneTools.globalImageIdSpecificToolStateManager
|
||||||
.saveToolState()),
|
.saveToolState()),
|
||||||
|
|||||||
Reference in New Issue
Block a user