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.2/WebApplication/viewer.js
===================================================================
--- OrthancWebViewer-1.2.orig/WebApplication/viewer.js
+++ OrthancWebViewer-1.2/WebApplication/viewer.js
@@ -363,15 +363,10 @@ $(document).ready(function() {
     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)
-        ]);
+        $('#topright').html(volume.PatientID + '<br/>' +
+                            volume.PatientName + '<br/>' +
+                            volume.StudyDescription + '<br/>' +
+                            volume.SeriesDescription + '<br/>');
       }
     }
   });
