.
This commit is contained in:
@@ -9,7 +9,8 @@ Associated case:
|
||||
This series is not associated with any cases.
|
||||
{% endif %}
|
||||
|
||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_url_array }}" data-annotations=''></div>
|
||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_url_array }}" data-annotations=''>
|
||||
</div>
|
||||
|
||||
<button id="add-finding-button">Add finding</button>
|
||||
<div id="finding-form">
|
||||
@@ -38,7 +39,7 @@ This series is not associated with any cases.
|
||||
<p><a href="{% url 'atlas:series_download' pk=series.pk %}">Download images</a></p>
|
||||
</details>
|
||||
|
||||
<div class="hidden" id="hidden-form">
|
||||
<div class="hide" id="hidden-form">
|
||||
<form method="post" id="series_finding_form">
|
||||
{% csrf_token %}
|
||||
{{ series_finding_form }}
|
||||
@@ -50,7 +51,7 @@ This series is not associated with any cases.
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#add-finding-button").click(() => {
|
||||
$("#finding-form").clear().append(
|
||||
$("#finding-form").empty().append(
|
||||
$("#hidden-form form").clone()
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user