Mercurial > hg > orthanc-ohif
comparison Sources/OrthancExplorer.js @ 6:e8e7ba4371e3
fix access to OHIF study list
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 17 Jun 2023 17:45:05 +0200 |
parents | 8c1fe0ca24f5 |
children | eab054ee7537 |
comparison
equal
deleted
inserted
replaced
5:8c1fe0ca24f5 | 6:e8e7ba4371e3 |
---|---|
51 } | 51 } |
52 }); | 52 }); |
53 } | 53 } |
54 }); | 54 }); |
55 }); | 55 }); |
56 | |
57 | |
58 if (${USE_DICOM_WEB}) { | |
59 $('#lookup').live('pagebeforeshow', function() { | |
60 $('#open-ohif-study-list').remove(); | |
61 | |
62 var b = $('<fieldset>') | |
63 .attr('id', 'open-ohif-study-list') | |
64 .addClass('ui-grid-b') | |
65 .append($('<div>') | |
66 .addClass('ui-block-a')) | |
67 .append($('<div>') | |
68 .addClass('ui-block-b') | |
69 .append($('<a>') | |
70 .attr('id', 'coucou') | |
71 .attr('data-role', 'button') | |
72 .attr('href', '#') | |
73 .attr('data-icon', 'forward') | |
74 .attr('data-theme', 'a') | |
75 .text('Open OHIF study list') | |
76 .button() | |
77 .click(function(e) { | |
78 window.open('../ohif/'); | |
79 }))); | |
80 | |
81 b.insertAfter($('#lookup-result')); | |
82 }); | |
83 } |