Description: Fix for the version of jQuery that is shipped with Debian
Author: Sebastien Jodogne <s.jodogne@gmail.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: OrthancWebViewer-1.1/WebApplication/viewer.js
===================================================================
--- OrthancWebViewer-1.1.orig/WebApplication/viewer.js
+++ OrthancWebViewer-1.1/WebApplication/viewer.js
@@ -362,16 +362,11 @@ $(document).ready(function() {
     async: false,
     success: function(volume) {
       if (volume.SortedInstances.length != 0) {
-        instances = volume.SortedInstances;
-        $('#topright').html([
-          $('<span>').text(volume.PatientID),
-          $('<br>'),
-          $('<span>').text(volume.PatientName),
-          $('<br>'),
-          $('<span>').text(volume.StudyDescription),
-          $('<br>'),
-          $('<span>').text(volume.SeriesDescription)
-        ]);
+          instances = volume.SortedInstances;
+	  $('#topright').html(volume.PatientID + '<br/>' +
+                            volume.PatientName + '<br/>' +
+                            volume.StudyDescription + '<br/>' +
+                            volume.SeriesDescription + '<br/>');
       }
     }
   });
