From e0f48dc90033f6ad03c2e7ce17f7a63613fe9b76 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 11 Nov 2021 23:17:55 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index dc25f527..dbb19100 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -482,7 +482,7 @@ $(el).parent().parent().prepend(element); $("#drop-filenames").append( - `${n}: ${el.files[0].name}
` + `${n}: ${el.files[0].name}` ) } else { imageId = `wadouri:${url}`; @@ -498,6 +498,10 @@ }); + $("#drop-filenames").append( + `${n}: ${el.files[0].name}
` + ) + const element2 = $(`#drop-filenames div[data-input-id='${el.id}']`).get(0); cornerstone.enable(element2); cornerstone.loadAndCacheImage(imageId).then(function (image) {