This commit is contained in:
Ross
2022-03-23 22:12:18 +00:00
parent c4b2f94ee2
commit db8972edf2
@@ -8,7 +8,7 @@
<span class="series-block"> <span class="series-block">
<span> <span>
Series {{ forloop.counter }}: Series {{ forloop.counter }}:
<a href="{% url 'atlas:series_detail' pk=series.pk %}"> <a href="loadDicomViewer(window.images[{{forloop.counter0}}])">
{{series.get_block}} {{series.get_block}}
</a> </a>
@@ -44,9 +44,7 @@ Return to <a href='{{collection.get_absolute_url}}'>collection</a>
{% endfor %} {% endfor %}
} }
$(document).ready(function () {
loadDicomViewer(window.images[0]) loadDicomViewer(window.images[0])
})
</script> </script>
{% endblock js %} {% endblock js %}