Mercurial > hg > orthanc-webviewer
view Resources/OrthancExplorer.js @ 2:c919d488471f
throbber to reflect the receiving of instances
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 26 Feb 2015 11:35:04 +0100 |
parents | 02f7a0400a91 |
children | 51b727a268f4 |
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); } }); });