diff OrthancExplorer/explorer.js @ 2336:a95beca72e99 dcmtk-3.6.1

fix header and query/retrieve in Orthanc Explorer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Jul 2017 11:49:54 +0200
parents ccd44d546b47
children 3372c5255333 7fbe3f024ac9
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js	Mon Jul 17 10:25:25 2017 +0200
+++ b/OrthancExplorer/explorer.js	Mon Jul 17 11:49:54 2017 +0200
@@ -334,11 +334,11 @@
     cache: false,
     success: function(s) {
       if (s.Name != "") {
-        $('.orthanc-name').append($('<a>')
-                                  .addClass('ui-link')
-                                  .attr('href', 'explorer.html')
-                                  .text(s.Name)
-                                  .append(' &raquo; '));
+        $('.orthanc-name').html($('<a>')
+                                .addClass('ui-link')
+                                .attr('href', 'explorer.html')
+                                .text(s.Name)
+                                .append(' &raquo; '));
       }
     }
   });