This commit is contained in:
Ross
2022-04-07 21:52:16 +01:00
parent 7b872a7a59
commit f678e0b2ce
2 changed files with 10 additions and 6 deletions
+5 -3
View File
@@ -78,8 +78,8 @@ $(document).ready(function () {
} }
// $(document).keydown(keyDownHandler); // $(document).keydown(keyDownHandler);
// $(document).keyup(keyUpHandler); // $(document).keyup(keyUpHandler);
$("#button-select-add-exam").click(function (evt) { $("#button-select-add-exam").click(function (evt) {
// Find selected objects // Find selected objects
@@ -310,7 +310,7 @@ function setUpDicom(element) {
if (imageIds[index].endsWith("dcm")) { if (imageIds[index].endsWith("dcm")) {
imageIds[index] = "wadouri:" + imageIds[index]; imageIds[index] = "wadouri:" + imageIds[index];
} }
} }
cornerstone.enable(element); cornerstone.enable(element);
@@ -369,6 +369,8 @@ function setUpDicom(element) {
cornerstone.resize(element); cornerstone.resize(element);
}).catch((err, err2) => {
console.log(err);
}); });
} }
+5 -3
View File
@@ -78,8 +78,8 @@ $(document).ready(function () {
} }
// $(document).keydown(keyDownHandler); // $(document).keydown(keyDownHandler);
// $(document).keyup(keyUpHandler); // $(document).keyup(keyUpHandler);
$("#button-select-add-exam").click(function (evt) { $("#button-select-add-exam").click(function (evt) {
// Find selected objects // Find selected objects
@@ -310,7 +310,7 @@ function setUpDicom(element) {
if (imageIds[index].endsWith("dcm")) { if (imageIds[index].endsWith("dcm")) {
imageIds[index] = "wadouri:" + imageIds[index]; imageIds[index] = "wadouri:" + imageIds[index];
} }
} }
cornerstone.enable(element); cornerstone.enable(element);
@@ -369,6 +369,8 @@ function setUpDicom(element) {
cornerstone.resize(element); cornerstone.resize(element);
}).catch((err, err2) => {
console.log(err);
}); });
} }