comparison OrthancExplorer/explorer.js @ 405:97a00b30abcc

sending of studies and patients with orthanc explorer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Apr 2013 15:23:23 +0200
parents 4d76fce206ef
children be93b666ed79
comparison
equal deleted inserted replaced
404:4b9a7010b1ea 405:97a00b30abcc
751 } 751 }
752 }); 752 });
753 } 753 }
754 754
755 755
756 $('#instance-store,#series-store').live('click', function(e) { 756 $('#instance-store,#series-store,#study-store,#patient-store').live('click', function(e) {
757 ChooseDicomModality(function(modality) { 757 ChooseDicomModality(function(modality) {
758 if (modality != '') { 758 if (modality != '') {
759 $.ajax({ 759 $.ajax({
760 url: '../modalities/' + modality + '/store', 760 url: '../modalities/' + modality + '/store',
761 type: 'POST', 761 type: 'POST',
767 }, 767 },
768 complete: function(s) { 768 complete: function(s) {
769 $.unblockUI(); 769 $.unblockUI();
770 }, 770 },
771 success: function(s) { 771 success: function(s) {
772 //console.log('done !');
773 }, 772 },
774 error: function() { 773 error: function() {
775 alert('Error during C-Store'); 774 alert('Error during C-Store');
776 } 775 }
777 }); 776 });