changeset 4088:ce7709cb380e

Fix issue #183 (C-ECHO always fails in Orthanc Explorer, regression from 1.6.1 to 1.7.0)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 27 Jun 2020 10:48:49 +0200
parents 4cd94ed75a5b
children a2060a76ed6a
files NEWS OrthancExplorer/query-retrieve.js
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Fri Jun 26 09:18:30 2020 +0200
+++ b/NEWS	Sat Jun 27 10:48:49 2020 +0200
@@ -13,7 +13,8 @@
 Maintenance
 -----------
 
-* Issue #182: Better handling of errors in plugins reading chunked HTTP body
+* Issue #182: Better reporting of errors in plugins reading chunked HTTP body
+* Fix issue #183 (C-ECHO always fails in Orthanc Explorer, regression from 1.6.1 to 1.7.0)
 
 
 Version 1.7.1 (2020-05-27)
--- a/OrthancExplorer/query-retrieve.js	Fri Jun 26 09:18:30 2020 +0200
+++ b/OrthancExplorer/query-retrieve.js	Sat Jun 27 10:48:49 2020 +0200
@@ -55,6 +55,7 @@
 
   $.ajax({
     url: '../modalities/' + server + '/echo',
+    data: '{}',  // Fix for issue #183 (regression from Orthanc 1.6.1 to 1.7.0)
     type: 'POST', 
     cache: false,
     async: false,