# HG changeset patch # User Sebastien Jodogne # Date 1439025819 -7200 # Node ID 9bb7caee05097e7b38889f8116180f8784a09cf6 # Parent f869ea124433df6dd92b3a478aee9f9d3782f0fd Fix for old versions of jQuery diff -r f869ea124433 -r 9bb7caee0509 NEWS --- a/NEWS Fri Aug 07 21:24:03 2015 +0200 +++ b/NEWS Sat Aug 08 11:23:39 2015 +0200 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Fix for old versions of jQuery + Version 1.2 (2015-08-02) ======================== diff -r f869ea124433 -r 9bb7caee0509 WebApplication/viewer.js --- a/WebApplication/viewer.js Fri Aug 07 21:24:03 2015 +0200 +++ b/WebApplication/viewer.js Sat Aug 08 11:23:39 2015 +0200 @@ -363,15 +363,10 @@ success: function(volume) { if (volume.SortedInstances.length != 0) { instances = volume.SortedInstances; - $('#topright').html([ - $('').text(volume.PatientID), - $('
'), - $('').text(volume.PatientName), - $('
'), - $('').text(volume.StudyDescription), - $('
'), - $('').text(volume.SeriesDescription) - ]); + $('#topright').html(volume.PatientID + '
' + + volume.PatientName + '
' + + volume.StudyDescription + '
' + + volume.SeriesDescription + '
'); } } });