Mercurial > hg > orthanc
comparison OrthancServer/OrthancExplorer/explorer.js @ 5246:b36f82260f41 db-protobuf
integration mainline->db-protobuf
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Apr 2023 12:20:53 +0200 |
parents | 72dfa0ac84eb b2de3a2ad3b9 |
children | a7d95f951f8a |
comparison
equal
deleted
inserted
replaced
5244:72dfa0ac84eb | 5246:b36f82260f41 |
---|---|
1480 $('#series-media').live('click', function(e) { | 1480 $('#series-media').live('click', function(e) { |
1481 e.preventDefault(); //stop the browser from following | 1481 e.preventDefault(); //stop the browser from following |
1482 window.location.href = '../series/' + $.mobile.pageData.uuid + '/media'; | 1482 window.location.href = '../series/' + $.mobile.pageData.uuid + '/media'; |
1483 }); | 1483 }); |
1484 | 1484 |
1485 | |
1486 $('#patient-archive-link').live('click', function(e) { | |
1487 e.preventDefault(); | |
1488 var url = new URL('../patients/' + $.mobile.pageData.uuid + '/archive', window.location.href); | |
1489 navigator.clipboard.writeText(url.href); | |
1490 $(e.target).closest('li').buttonMarkup({ icon: 'check' }); | |
1491 }); | |
1492 | |
1493 $('#study-archive-link').live('click', function(e) { | |
1494 e.preventDefault(); | |
1495 var url = new URL('../studies/' + $.mobile.pageData.uuid + '/archive', window.location.href); | |
1496 navigator.clipboard.writeText(url.href); | |
1497 $(e.target).closest('li').buttonMarkup({ icon: 'check' }); | |
1498 }); | |
1499 | |
1500 $('#series-archive-link').live('click', function(e) { | |
1501 e.preventDefault(); | |
1502 var url = new URL('../series/' + $.mobile.pageData.uuid + '/archive', window.location.href); | |
1503 navigator.clipboard.writeText(url.href); | |
1504 $(e.target).closest('li').buttonMarkup({ icon: 'check' }); | |
1505 }); | |
1506 | |
1507 $('#instance-download-link').live('click', function(e) { | |
1508 e.preventDefault(); | |
1509 var url = new URL('../instances/' + $.mobile.pageData.uuid + '/file', window.location.href); | |
1510 navigator.clipboard.writeText(url.href); | |
1511 $(e.target).closest('li').buttonMarkup({ icon: 'check' }); | |
1512 }); | |
1513 | |
1514 | |
1485 $('.patient-attachment').live('click', function(e) { | 1515 $('.patient-attachment').live('click', function(e) { |
1486 e.preventDefault(); //stop the browser from following | 1516 e.preventDefault(); //stop the browser from following |
1487 window.location.href = '../patients/' + $.mobile.pageData.uuid + '/attachments/' + e.target.id + '/data'; | 1517 window.location.href = '../patients/' + $.mobile.pageData.uuid + '/attachments/' + e.target.id + '/data'; |
1488 }); | 1518 }); |
1489 | 1519 |