comparison 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
comparison
equal deleted inserted replaced
98:745cc19aa32b 99:46ec13a1177c
359 url: '../series/' + series, 359 url: '../series/' + series,
360 dataType: 'json', 360 dataType: 'json',
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.Slices.length != 0) {
365 instances = volume.SortedInstances; 365 instances = volume.Slices;
366 $('#topright').html(volume.PatientID + '<br/>' + 366 $('#topright').html(volume.PatientID + '<br/>' +
367 volume.PatientName + '<br/>' + 367 volume.PatientName + '<br/>' +
368 volume.StudyDescription + '<br/>' + 368 volume.StudyDescription + '<br/>' +
369 volume.SeriesDescription + '<br/>'); 369 volume.SeriesDescription + '<br/>');
370 } 370 }