Mercurial > hg > orthanc-webviewer
changeset 71:9bb7caee0509
Fix for old versions of jQuery
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 11:23:39 +0200 |
parents | f869ea124433 |
children | f2f8f8714dcc |
files | NEWS WebApplication/viewer.js |
diffstat | 2 files changed, 6 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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) ========================
--- 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([ - $('<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/>'); } } });