changeset 165:f2ae23682353 Orthanc-0.2.3

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Oct 2012 15:18:11 +0200
parents dcf6475e2b40
children 857856b827e5 9bb7e8277e15
files OrthancExplorer/explorer.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js	Fri Oct 26 15:05:26 2012 +0200
+++ b/OrthancExplorer/explorer.js	Fri Oct 26 15:18:11 2012 +0200
@@ -325,7 +325,9 @@
     dataType: 'json',
     async: false,
     success: function(s) {
-      $('.orthanc-name').html('<a class="ui-link" href="explorer.html">' + s.Name + '</a> &raquo; ');
+      if (s.Name != "") {
+        $('.orthanc-name').html('<a class="ui-link" href="explorer.html">' + s.Name + '</a> &raquo; ');
+      }
     }
   });
 });