.
This commit is contained in:
@@ -205,6 +205,12 @@
|
||||
|
||||
const readFile = (file, el) => {
|
||||
reader(file).then(reader => {
|
||||
console.log("hello", file, el, image)
|
||||
if (!$("#id_examination").find(":selected").length) {
|
||||
var byteArray = new Uint8Array(reader.result);
|
||||
console.log("etrxact")
|
||||
extractDicomStudyDescription(byteArray);
|
||||
}
|
||||
var image = new Image();
|
||||
image.height = 100;
|
||||
image.title = file.name;
|
||||
@@ -215,12 +221,6 @@
|
||||
//images.push(reader.result);
|
||||
loadViewer(images);
|
||||
|
||||
console.log(file, el, image)
|
||||
if (!$("#id_examination").find(":selected").length) {
|
||||
var byteArray = new Uint8Array(reader.result);
|
||||
console.log("etrxact")
|
||||
extractDicomStudyDescription(byteArray);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user