.
This commit is contained in:
@@ -78,8 +78,8 @@ window.loadDicomViewerEvent = new Event('loadDicomViewer');
|
||||
window.addEventListener('loadDicomViewer', function (e) {
|
||||
console.log("listen", e.detail)
|
||||
let images = [];
|
||||
console.log($("#images img"));
|
||||
$("#images img").each((n, el) => {
|
||||
console.log($("#image_form_set img"));
|
||||
$("#image_form_set img").each((n, el) => {
|
||||
images.push($(el).attr("src"));
|
||||
} );
|
||||
console.log("listen2", images)
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
|
||||
image_set = $("#image_form_set img");
|
||||
if (n == image_set.length) {
|
||||
const event = new CustomEvent('loadDicomViewer', { "detail": images });
|
||||
const event = new CustomEvent('loadDicomViewer', { "detail": image_set });
|
||||
|
||||
window.dispatchEvent(event);
|
||||
updateImagePositions();
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/1.11/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = '/home/django/rad/static/'
|
||||
STATIC_ROOT = 'static/'
|
||||
|
||||
REMOTE_URL = "http://penracourses.org.uk"
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user