changeset 1966:a5f0b395d4df

Fix issues with drag-and-drop, upgraded Vue.js to 2.6.4
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 28 Oct 2022 09:02:16 +0200
parents f75fbcc0e486
children b180233143ae
files Applications/StoneWebViewer/NEWS Applications/StoneWebViewer/WebApplication/index.html Applications/StoneWebViewer/WebAssembly/JavaScriptLibraries.cmake
diffstat 3 files changed, 13 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/NEWS	Fri Oct 28 07:48:45 2022 +0200
+++ b/Applications/StoneWebViewer/NEWS	Fri Oct 28 09:02:16 2022 +0200
@@ -7,9 +7,15 @@
   - "ShowUserPreferencesButton" to show the button for setting preferences
   - "ShowNotForDiagnosticUsageDisclaimer" to show disclaimer about diagnostic usage
   - "DicomWebHttpHeaders" to set HTTP headers in DICOMweb requests
+
+Maintenance
+-----------
+
+* Fix issues with drag-and-drop
+* Fix handling of "token": The authorization header was not set in QIDO-RS requests
 * More tolerance wrt. bad values of the Pixel Spacing (0028,0030) tag
 * Support of DICOM images without the Study Date (0008,0020) tag
-* Fix handling of "token": The authorization header was not set in QIDO-RS requests
+* Upgraded Vue.js to 2.6.4
 
 
 Version 2.3 (2022-03-24)
--- a/Applications/StoneWebViewer/WebApplication/index.html	Fri Oct 28 07:48:45 2022 +0200
+++ b/Applications/StoneWebViewer/WebApplication/index.html	Fri Oct 28 09:02:16 2022 +0200
@@ -662,7 +662,8 @@
                            'wvSplitpane__cellBorder--yellow' : content.series.color == 'yellow', 
                            'wvSplitpane__cellBorder--violet' : content.series.color == 'violet'
                            }" 
-             ondragover="event.preventDefault()"
+             v-on:dragenter="$event.preventDefault()"
+             v-on:dragover="$event.preventDefault()"
              v-on:drop="DragDrop($event)"
              style="width:100%;height:100%">
           <div class="wvSplitpane__cell" 
--- a/Applications/StoneWebViewer/WebAssembly/JavaScriptLibraries.cmake	Fri Oct 28 07:48:45 2022 +0200
+++ b/Applications/StoneWebViewer/WebAssembly/JavaScriptLibraries.cmake	Fri Oct 28 09:02:16 2022 +0200
@@ -31,9 +31,9 @@
   "${CMAKE_CURRENT_BINARY_DIR}/bootstrap-3.4.1-dist")
 
 DownloadPackage(
-  "8242afdc5bd44105d9dc9e6535315484"
-  "${BASE_URL}/dicom-web/vuejs-2.6.10.tar.gz"
-  "${CMAKE_CURRENT_BINARY_DIR}/vue-2.6.10")
+  "ca84d906dcaecd4c66553bf49b547f65"
+  "${BASE_URL}/dicom-web/vue-2.6.14.tar.gz"
+  "${CMAKE_CURRENT_BINARY_DIR}/vue-2.6.14")
 
 DownloadPackage(
   "3e2b4e1522661f7fcf8ad49cb933296c"
@@ -69,7 +69,7 @@
   FILES
   ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-3.4.1-dist/js/bootstrap.min.js
   ${CMAKE_SOURCE_DIR}/ThirdPartyDownloads/jquery-3.4.1.min.js
-  ${CMAKE_CURRENT_BINARY_DIR}/vue-2.6.10/dist/vue.min.js
+  ${CMAKE_CURRENT_BINARY_DIR}/vue-2.6.14/dist/vue.min.js
   ${CMAKE_CURRENT_BINARY_DIR}/axios-0.19.0/dist/axios.min.js
   ${CMAKE_CURRENT_BINARY_DIR}/axios-0.19.0/dist/axios.min.map
   ${CMAKE_CURRENT_BINARY_DIR}/pdfjs/pdf.js