comparison OrthancExplorer/explorer.js @ 250:f23318b11b39

creation of zip files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Dec 2012 12:29:10 +0100
parents bee20e978835
children f2286c741109
comparison
equal deleted inserted replaced
249:5694365ecb96 250:f23318b11b39
622 $('#instance-download-json').live('click', function(e) { 622 $('#instance-download-json').live('click', function(e) {
623 // http://stackoverflow.com/a/1296101 623 // http://stackoverflow.com/a/1296101
624 e.preventDefault(); //stop the browser from following 624 e.preventDefault(); //stop the browser from following
625 window.location.href = '../instances/' + $.mobile.pageData.uuid + '/tags'; 625 window.location.href = '../instances/' + $.mobile.pageData.uuid + '/tags';
626 }); 626 });
627
627 628
628 629
629 $('#instance-preview').live('click', function(e) { 630 $('#instance-preview').live('click', function(e) {
630 if ($.mobile.pageData) { 631 if ($.mobile.pageData) {
631 GetSingleResource('instances', $.mobile.pageData.uuid + '/frames', function(frames) { 632 GetSingleResource('instances', $.mobile.pageData.uuid + '/frames', function(frames) {
766 if (checked) 767 if (checked)
767 $('.tag-name').show(); 768 $('.tag-name').show();
768 else 769 else
769 $('.tag-name').hide(); 770 $('.tag-name').hide();
770 }); 771 });
772
773
774 $('#patient-archive').live('click', function(e) {
775 e.preventDefault(); //stop the browser from following
776 window.location.href = '../patients/' + $.mobile.pageData.uuid + '/archive';
777 });
778
779 $('#study-archive').live('click', function(e) {
780 e.preventDefault(); //stop the browser from following
781 window.location.href = '../studies/' + $.mobile.pageData.uuid + '/archive';
782 });
783
784 $('#series-archive').live('click', function(e) {
785 e.preventDefault(); //stop the browser from following
786 window.location.href = '../series/' + $.mobile.pageData.uuid + '/archive';
787 });
788