This commit is contained in:
Ross
2024-02-13 22:50:45 +00:00
parent c3d7546d79
commit ee29eaf307
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ class Series(SeriesBase):
"<a href='{}'>{}</a>", self.get_absolute_url(), self.get_full_str()
)
@lru_cache(maxsize=128)
#@lru_cache(maxsize=128)
def get_series_dicom_json(self):
instances = []
+2 -2
View File
@@ -7,7 +7,7 @@
<p>Click on the 'Show' button to view the case in the viewer. Click on the 'Open' button to open the case in a new window.</p>
<p>Opening a second case will replace the first case in the viewer or window.</p>
</details>
<button class="show-collection no-padding" data-title="{{case.title}}" data-target="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:collection_dicom_json' collection.pk %}">Show Collection</button>
{% comment %} <button class="show-collection no-padding" data-title="{{case.title}}" data-target="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:collection_dicom_json' collection.pk %}">Show Collection</button> {% endcomment %}
<ol id="" class="sortable">
{% for case in cases %}
@@ -74,7 +74,7 @@
$('#case-title').text("Series: " + $(this).data('title'));
$('#viewer').attr('src', url)
});
$('.open-case').click(function() {
$('.open-case, .open-series').click(function() {
var url = $(this).data('target');
bc.postMessage(url);
if (win2 == false || win2.closed) {