Mercurial > hg > orthanc
comparison OrthancExplorer/explorer.js @ 1188:2e11c3353356
download dicomdir in Orthanc Explorer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 16 Oct 2014 10:43:23 +0200 |
parents | a8be42bcf2bb |
children | f1c01451a8ee |
comparison
equal
deleted
inserted
replaced
1186:b17b6bd59747 | 1188:2e11c3353356 |
---|---|
933 $('#series-archive').live('click', function(e) { | 933 $('#series-archive').live('click', function(e) { |
934 e.preventDefault(); //stop the browser from following | 934 e.preventDefault(); //stop the browser from following |
935 window.location.href = '../series/' + $.mobile.pageData.uuid + '/archive'; | 935 window.location.href = '../series/' + $.mobile.pageData.uuid + '/archive'; |
936 }); | 936 }); |
937 | 937 |
938 | |
939 $('#patient-media').live('click', function(e) { | |
940 e.preventDefault(); //stop the browser from following | |
941 window.location.href = '../patients/' + $.mobile.pageData.uuid + '/media'; | |
942 }); | |
943 | |
944 $('#study-media').live('click', function(e) { | |
945 e.preventDefault(); //stop the browser from following | |
946 window.location.href = '../studies/' + $.mobile.pageData.uuid + '/media'; | |
947 }); | |
948 | |
949 $('#series-media').live('click', function(e) { | |
950 e.preventDefault(); //stop the browser from following | |
951 window.location.href = '../series/' + $.mobile.pageData.uuid + '/media'; | |
952 }); | |
953 | |
954 | |
955 | |
938 $('#protection').live('change', function(e) { | 956 $('#protection').live('change', function(e) { |
939 var isProtected = e.target.value == "on"; | 957 var isProtected = e.target.value == "on"; |
940 $.ajax({ | 958 $.ajax({ |
941 url: '../patients/' + $.mobile.pageData.uuid + '/protected', | 959 url: '../patients/' + $.mobile.pageData.uuid + '/protected', |
942 type: 'PUT', | 960 type: 'PUT', |