changeset 5951:a08a67c531f0 get-scu

legacy ui: remove duplicate /retrieve queries
author Alain Mazy <am@orthanc.team>
date Thu, 09 Jan 2025 11:23:00 +0100
parents fa8c10f10312
children ae6de7d857c5
files OrthancServer/OrthancExplorer/query-retrieve.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancExplorer/query-retrieve.js	Mon Dec 09 19:41:24 2024 +0100
+++ b/OrthancServer/OrthancExplorer/query-retrieve.js	Thu Jan 09 11:23:00 2025 +0100
@@ -341,9 +341,9 @@
       success: function(system) {
         $('#retrieve-target').val(system['DicomAet']);
 
+        $('#retrieve-form').unbind('submit');
         $('#retrieve-form').submit(function(event) {
           var aet;
-
           event.preventDefault();
 
           aet = $('#retrieve-target').val();