changeset 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 4b9a7010b1ea
children fb1d988a978b
files OrthancExplorer/explorer.html OrthancExplorer/explorer.js
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancExplorer/explorer.html	Tue Apr 30 12:54:21 2013 +0200
+++ b/OrthancExplorer/explorer.html	Tue Apr 30 15:23:23 2013 +0200
@@ -90,6 +90,7 @@
                 </div>
                 <!--a href="#find-patients" data-role="button" data-icon="search">Go to patient finder</a-->
                 <a href="#" data-role="button" data-icon="delete" id="patient-delete">Delete this patient</a>
+                <a href="#" data-role="button" data-icon="forward" id="patient-store">Store in another DICOM modality</a>
                 <a href="#" data-role="button" data-icon="gear" id="patient-archive">Download ZIP</a>
                 <a href="#" data-role="button" data-icon="star" id="patient-anonymize">Anonymize</a>
               </p>
@@ -123,6 +124,7 @@
               </ul>
               <p>
                 <a href="#" data-role="button" data-icon="delete" id="study-delete">Delete this study</a>
+                <a href="#" data-role="button" data-icon="forward" id="study-store">Store in another DICOM modality</a>
                 <a href="#" data-role="button" data-icon="gear" id="study-archive">Download ZIP</a>
                 <a href="#" data-role="button" data-icon="star" id="study-anonymize">Anonymize</a>
               </p>
--- a/OrthancExplorer/explorer.js	Tue Apr 30 12:54:21 2013 +0200
+++ b/OrthancExplorer/explorer.js	Tue Apr 30 15:23:23 2013 +0200
@@ -753,7 +753,7 @@
 }
 
 
-$('#instance-store,#series-store').live('click', function(e) {
+$('#instance-store,#series-store,#study-store,#patient-store').live('click', function(e) {
   ChooseDicomModality(function(modality) {
     if (modality != '') {
       $.ajax({
@@ -769,7 +769,6 @@
           $.unblockUI();
         },
         success: function(s) {
-          //console.log('done !');
         },
         error: function() {
           alert('Error during C-Store');