comparison Sources/OrthancExplorer.js @ 69:c42bac260709

back to mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 16 Jun 2024 21:13:49 +0200
parents 054e36474998
children ad9950628b35
comparison
equal deleted inserted replaced
67:d34f662a3a6c 69:c42bac260709
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 creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_1}' ||
501 creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_2}') {
501 var b = $('<a>') 502 var b = $('<a>')
502 .attr('id', id) 503 .attr('id', id)
503 .attr('data-role', 'button') 504 .attr('data-role', 'button')
504 .attr('href', '#') 505 .attr('href', '#')
505 .attr('data-icon', 'search') 506 .attr('data-icon', 'search')