Mercurial > hg > orthanc
comparison OrthancExplorer/explorer.js @ 151:11e48e70c039
instance naming
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 23 Oct 2012 14:34:57 +0200 |
parents | a7bffca29031 |
children | 4829c054751a |
comparison
equal
deleted
inserted
replaced
150:1058c115aed1 | 151:11e48e70c039 |
---|---|
320 | 320 |
321 | 321 |
322 | 322 |
323 | 323 |
324 $('#find-patients').live('pagebeforeshow', function() { | 324 $('#find-patients').live('pagebeforeshow', function() { |
325 //$('.orthanc-name').each( | |
326 | |
327 $.ajax({ | |
328 url: '/system', | |
329 dataType: 'json', | |
330 success: function(s) { | |
331 $('.orthanc-name').html(s.Name + ' » '); | |
332 } | |
333 }); | |
334 | |
325 GetMultipleResources('patients', null, function(patients) { | 335 GetMultipleResources('patients', null, function(patients) { |
326 var target = $('#all-patients'); | 336 var target = $('#all-patients'); |
327 $('li', target).remove(); | 337 $('li', target).remove(); |
328 | 338 |
329 SortOnDicomTag(patients, 'PatientName', false, false); | 339 SortOnDicomTag(patients, 'PatientName', false, false); |