Mercurial > hg > orthanc-webviewer
diff WebApplication/viewer.js @ 99:46ec13a1177c refactoring
use of ordered-slices
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2015 21:39:41 +0100 |
parents | 9bb7caee0509 |
children | 83d4afba88ff |
line wrap: on
line diff
--- a/WebApplication/viewer.js Fri Nov 27 18:30:46 2015 +0100 +++ b/WebApplication/viewer.js Fri Nov 27 21:39:41 2015 +0100 @@ -361,8 +361,8 @@ cache: false, async: false, success: function(volume) { - if (volume.SortedInstances.length != 0) { - instances = volume.SortedInstances; + if (volume.Slices.length != 0) { + instances = volume.Slices; $('#topright').html(volume.PatientID + '<br/>' + volume.PatientName + '<br/>' + volume.StudyDescription + '<br/>' +