fix JS paths
Tara L Andrews [Fri, 3 Feb 2012 22:53:07 +0000 (23:53 +0100)]
stemmaweb/root/src/relate.tt
stemmaweb/root/src/stexaminer.tt

index 408df7c..3537328 100644 (file)
@@ -1,6 +1,6 @@
 [% WRAPPER header.tt
        pagetitle = "Stemmaweb - Relationship mapper"
-       applicationjs = "../js/relationship.js"
+       applicationjs = base _ "/js/relationship.js"
 %]
 <script type="text/javascript">
 $(function() {
index 3867a94..e855d48 100644 (file)
@@ -1,6 +1,6 @@
 [% PROCESS header.tt
        pagetitle = "Stexaminer - $text_title"
-       applicationjs = "/js/stexaminer.js"
+       applicationjs = base _ "js/stexaminer.js"
 %]
     <h1>Stexaminer</h1>
     <h2>[% text_title %]</h2>