add main 'about' page, move most index page JS into componentload, rationalize the...
[scpubgit/stemmaweb.git] / root / src / relate.tt
index 95af6d6..d7d4642 100644 (file)
@@ -4,6 +4,9 @@
        applicationstyle = c.uri_for('/css/relationship.css')
 %]
 <script type="text/javascript">
+// Load the text ID and the base path
+var basepath = "[% c.uri_for( '/relation/' ) %]";
+var textid = "[% textid %]";
 
 $(document).ready(function () {
   loadSVG('[% svg_string %]');