Mercurial > hg > orthanc-stl
comparison Sources/OrthancExplorer.js @ 60:c322c949bd8e OrthancSTL-1.1
OrthancSTL-1.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 May 2024 15:33:32 +0200 |
parents | 9ed0cb5d6082 |
children | b798387b085c |
comparison
equal
deleted
inserted
replaced
58:a5096a7ab7f1 | 60:c322c949bd8e |
---|---|
494 function AddOpenStlNexusButton(instanceId, id, parent) { | 494 function AddOpenStlNexusButton(instanceId, id, parent) { |
495 if (${IS_NEXUS_ENABLED}) { | 495 if (${IS_NEXUS_ENABLED}) { |
496 $.ajax({ | 496 $.ajax({ |
497 url: '/instances/' + instanceId + '/content/0008,9123', | 497 url: '/instances/' + instanceId + '/content/0008,9123', |
498 success: function(creatorVersionUid) { | 498 success: function(creatorVersionUid) { |
499 if (creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE}') { | 499 if (creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE}' || |
500 creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_1}') { | |
500 var b = $('<a>') | 501 var b = $('<a>') |
501 .attr('id', id) | 502 .attr('id', id) |
502 .attr('data-role', 'button') | 503 .attr('data-role', 'button') |
503 .attr('href', '#') | 504 .attr('href', '#') |
504 .attr('data-icon', 'search') | 505 .attr('data-icon', 'search') |