Mercurial > hg > orthanc-webviewer
view Resources/OrthancExplorer.js @ 128:e8cfda4c8a2f
Sync + support of JPEG2000 lossless images with YBR_RCT photometric interpretation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Apr 2016 21:44:03 +0200 |
parents | 465bed3c5c81 |
children | 0f042939410d |
line wrap: on
line source
$('#series').live('pagebeforecreate', function() { //$('#series-preview').parent().remove(); var b = $('<a>') .attr('data-role', 'button') .attr('href', '#') .attr('data-icon', 'search') .attr('data-theme', 'e') .text('Orthanc Web Viewer'); b.insertBefore($('#series-delete').parent().parent()); b.click(function() { if ($.mobile.pageData) { var series = $.mobile.pageData.uuid; window.open('../web-viewer/app/viewer.html?series=' + series); } }); });