.
This commit is contained in:
@@ -482,7 +482,7 @@
|
|||||||
$(el).parent().parent().prepend(element);
|
$(el).parent().parent().prepend(element);
|
||||||
|
|
||||||
$("#drop-filenames").append(
|
$("#drop-filenames").append(
|
||||||
`<span data-input-id='${el.id}'><span>${n}: ${el.files[0].name}</span><div class='uploading${extra_class}' data-input-id='${el.id}' src=${url}></div></span>`
|
`<span data-input-id='${el.id}'><span>${n}: ${el.files[0].name}</span><mig class='uploading${extra_class}' data-input-id='${el.id}' src=${url}></span>`
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
imageId = `wadouri:${url}`;
|
imageId = `wadouri:${url}`;
|
||||||
@@ -498,6 +498,10 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#drop-filenames").append(
|
||||||
|
`<span data-input-id='${el.id}'><span>${n}: ${el.files[0].name}</span><div class='uploading${extra_class}' data-input-id='${el.id}' src=${url}></div></span>`
|
||||||
|
)
|
||||||
|
|
||||||
const element2 = $(`#drop-filenames div[data-input-id='${el.id}']`).get(0);
|
const element2 = $(`#drop-filenames div[data-input-id='${el.id}']`).get(0);
|
||||||
cornerstone.enable(element2);
|
cornerstone.enable(element2);
|
||||||
cornerstone.loadAndCacheImage(imageId).then(function (image) {
|
cornerstone.loadAndCacheImage(imageId).then(function (image) {
|
||||||
|
|||||||
Reference in New Issue
Block a user