Mercurial > hg > orthanc-webviewer
comparison WebApplication/viewer.js @ 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 | 20af33af313a |
children | 46ec13a1177c |
comparison
equal
deleted
inserted
replaced
70:f869ea124433 | 71:9bb7caee0509 |
---|---|
361 cache: false, | 361 cache: false, |
362 async: false, | 362 async: false, |
363 success: function(volume) { | 363 success: function(volume) { |
364 if (volume.SortedInstances.length != 0) { | 364 if (volume.SortedInstances.length != 0) { |
365 instances = volume.SortedInstances; | 365 instances = volume.SortedInstances; |
366 $('#topright').html([ | 366 $('#topright').html(volume.PatientID + '<br/>' + |
367 $('<span>').text(volume.PatientID), | 367 volume.PatientName + '<br/>' + |
368 $('<br>'), | 368 volume.StudyDescription + '<br/>' + |
369 $('<span>').text(volume.PatientName), | 369 volume.SeriesDescription + '<br/>'); |
370 $('<br>'), | |
371 $('<span>').text(volume.StudyDescription), | |
372 $('<br>'), | |
373 $('<span>').text(volume.SeriesDescription) | |
374 ]); | |
375 } | 370 } |
376 } | 371 } |
377 }); | 372 }); |
378 | 373 |
379 if (instances.length == 0) | 374 if (instances.length == 0) |