Merge branch 'master' of github.com:tla/stemmatology
tla [Wed, 14 Mar 2012 22:17:08 +0000 (23:17 +0100)]
lib/stemmaweb/Controller/Stexaminer.pm
root/css/relationship.css
root/js/relationship.js
root/src/relate.tt

index cb9990f..1449ad2 100644 (file)
@@ -37,7 +37,7 @@ sub index :Path :Args(1) {
                $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, 'exclude_type1' => 1 );
+               my $t = run_analysis( $tradition );
                # Stringify the reading groups
                foreach my $loc ( @{$t->{'variants'}} ) {
                        my $mst = wit_stringify( $loc->{'missing'} );
index e2e2f25..0d85213 100644 (file)
@@ -74,15 +74,6 @@ span.apimore {
     padding-top: 5px;
     padding-bottom: 5px;    
 }
-#loading_overlay {
-       display: none;
-       position: absolute;
-       height: 500px;
-       width: 89%;
-       z-index: 2;
-       opacity: 0.7;
-       background-color: #c5c5c5;
-}
 #dialog_overlay {
     display: none;
     position: absolute;
index 64bd041..414b78c 100644 (file)
@@ -21,8 +21,6 @@ function getRelationshipURL() {
 }
 
 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'} );
@@ -44,7 +42,6 @@ function svgEnlargementLoaded() {
     //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() {
index 07b9b0a..72ea8e1 100644 (file)
@@ -19,7 +19,6 @@ $(function() {
        </div>
 
        <div id="enlargement_container">        
-               <div id="loading_overlay"></div>
                <div id="enlargement">
                <div id="svgenlargement" style="height: 500px;"></div>
                </div>