Mercurial > hg > orthanc-stone
changeset 2053:0d814292a17e deep-learning
integration mainline->deep-learning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Mar 2023 17:20:26 +0200 |
parents | 85ab86f10d01 (current diff) d77fea5934fb (diff) |
children | d4e769a0961f |
files | Applications/StoneWebViewer/WebApplication/app.js |
diffstat | 3 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/NEWS Thu Mar 16 21:28:22 2023 +0100 +++ b/Applications/StoneWebViewer/NEWS Thu Mar 30 17:20:26 2023 +0200 @@ -3,6 +3,11 @@ * New button "Stretch to whole range" in the "Change windowing" menu +Maintenance +----------- + +* Prevent dragging series before they are ready + Version 2.5 (2022-12-05) ========================
--- a/Applications/StoneWebViewer/WebApplication/app.js Thu Mar 16 21:28:22 2023 +0100 +++ b/Applications/StoneWebViewer/WebApplication/app.js Thu Mar 30 17:20:26 2023 +0200 @@ -809,13 +809,17 @@ }, SeriesDragStart: function(event, seriesIndex) { - // It is necessary to use ".toString()" for Microsoft Edge Legacy (*) - event.dataTransfer.setData('seriesIndex', seriesIndex.toString()); + if (this.series[seriesIndex].numberOfFrames > 0) { // prevent dragging before the series metadata have been loaded + // It is necessary to use ".toString()" for Microsoft Edge Legacy (*) + event.dataTransfer.setData('seriesIndex', seriesIndex.toString()); + } }, VirtualSeriesDragStart: function(event, seriesIndex, virtualSeriesId) { - event.dataTransfer.setData('seriesIndex', seriesIndex.toString()); - event.dataTransfer.setData('virtualSeriesId', virtualSeriesId.toString()); + if (this.series[seriesIndex].numberOfFrames > 0) { // prevent dragging before the series metadata have been loaded + event.dataTransfer.setData('seriesIndex', seriesIndex.toString()); + event.dataTransfer.setData('virtualSeriesId', virtualSeriesId.toString()); + } }, SetViewportSeriesInstanceUid: function(viewportIndex, seriesInstanceUid) {
--- a/TODO Thu Mar 16 21:28:22 2023 +0100 +++ b/TODO Thu Mar 30 17:20:26 2023 +0200 @@ -44,10 +44,6 @@ Known issues ------------ -* When opening a CT with 700 slices, if you drop the thumbnail in the viewport - before the studies/../metadata have been loaded, the series will never be displayed. - https://groups.google.com/g/orthanc-users/c/04D4exKMVSA - * Compatibility with Google Chrome browser on iPad Air 4: https://groups.google.com/g/orthanc-users/c/7SgedbIiA2k/ https://groups.google.com/g/orthanc-users/c/RfQJFgkOUYY/m/za7rkcLNBQAJ @@ -61,7 +57,7 @@ * Replace calls to /studies/.../series/.../metadata by calls to /instances?StudyInstanceUID=...&SeriesInstanceUID=...&includefield=...&includefield=... - to benefit from ExtraMainDicomTags stored in DB and avoid reading from disk + to benefit from ExtraMainDicomTags stored in DB and avoid reading from disk. -------- Wishlist @@ -86,11 +82,6 @@ type of modality to be displayed): https://groups.google.com/g/orthanc-users/c/bGtK3q9ZUmg/m/gr8kCcVWCAAJ -* When opening the viewer, directly load the first series in the - viewport (like the OsimisViewer). Whatch out the known issue - wrt. dropping a series before the studies/../metadata have been - loaded. - * Create secondary capture DICOM images with the annotations burned in: https://groups.google.com/g/orthanc-users/c/T3h-6dIjvww/m/sVtHxwT_AQAJ