From ee29eaf307190f6dda6ac46ce61b2a7a784c7ee3 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 13 Feb 2024 22:50:45 +0000 Subject: [PATCH] . --- atlas/models.py | 2 +- atlas/templates/atlas/collection_viva.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/atlas/models.py b/atlas/models.py index 91f952d8..6a52aeec 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -576,7 +576,7 @@ class Series(SeriesBase): "{}", self.get_absolute_url(), self.get_full_str() ) - @lru_cache(maxsize=128) + #@lru_cache(maxsize=128) def get_series_dicom_json(self): instances = [] diff --git a/atlas/templates/atlas/collection_viva.html b/atlas/templates/atlas/collection_viva.html index 23eec14d..5b0c0a84 100644 --- a/atlas/templates/atlas/collection_viva.html +++ b/atlas/templates/atlas/collection_viva.html @@ -7,7 +7,7 @@

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.

Opening a second case will replace the first case in the viewer or window.

- + {% comment %} {% endcomment %}
    {% 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) {