$c->stash->{text_title} = $tradition->name;
$c->stash->{template} = 'stexaminer.tt';
# TODO Run the analysis as AJAX from the loaded page.
- my $t = run_analysis( $tradition );
+ my $t = run_analysis( $tradition, 'exclude_type1' => 1 );
# Stringify the reading groups
foreach my $loc ( @{$t->{'variants'}} ) {
my $mst = wit_stringify( $loc->{'missing'} );
}
function svgEnlargementLoaded() {
+ //Give some visual evidence that we are working
+ $('#loading_overlay').show();
//Set viewbox widht and height to widht and height of $('#svgenlargement svg').
//This is essential to make sure zooming and panning works properly.
$('#svgenlargement ellipse').attr( {stroke:'green', fill:'#b3f36d'} );
//used to calculate min and max zoom level:
start_element_height = $("#svgenlargement .node title:contains('#START#')").siblings('ellipse')[0].getBBox().height;
add_relations();
+ // $('#loading_overlay').hide();
}
function add_relations() {
</div>
<div id="enlargement_container">
+ <div id="loading_overlay"></div>
<div id="enlargement">
<div id="svgenlargement" style="height: 500px;"></div>
</div>