Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js Tue Oct 14 14:47:58 2014 +0200 +++ b/OrthancExplorer/explorer.js Thu Oct 16 10:43:23 2014 +0200 @@ -935,6 +935,24 @@ window.location.href = '../series/' + $.mobile.pageData.uuid + '/archive'; }); + +$('#patient-media').live('click', function(e) { + e.preventDefault(); //stop the browser from following + window.location.href = '../patients/' + $.mobile.pageData.uuid + '/media'; +}); + +$('#study-media').live('click', function(e) { + e.preventDefault(); //stop the browser from following + window.location.href = '../studies/' + $.mobile.pageData.uuid + '/media'; +}); + +$('#series-media').live('click', function(e) { + e.preventDefault(); //stop the browser from following + window.location.href = '../series/' + $.mobile.pageData.uuid + '/media'; +}); + + + $('#protection').live('change', function(e) { var isProtected = e.target.value == "on"; $.ajax({