.
This commit is contained in:
+1
-1
@@ -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 = []
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user