Fixed path to jsquery.js
authorAlan Pippin <apippin@pippins.net>
Wed, 27 Oct 2010 01:05:14 +0000 (19:05 -0600)
committerAlan J. Pippin <ajp@pippins.net>
Wed, 27 Oct 2010 01:05:14 +0000 (19:05 -0600)
inc/class.tc.inc.php
templates/default/ht_sandbox.tpl

index c3a2b7971e8d49c6315d9d12ad9d45d74b96871b..ac36a1e162330eccbd15466e8ee5c5e05580fa04 100644 (file)
@@ -412,7 +412,8 @@ class tc
                $this->t->set_block('ht_sandbox_t','companionship_table_list','ct_list');
 
                $this->t->set_var('submit_action',$GLOBALS['phpgw']->link('/tc/index.php','menuaction=tc.tc.ht_sandbox&action=add'));
-               
+           $this->t->set_var('jquery_url',$GLOBALS['phpgw']->link('inc/jquery.js'));
+                
            $action = get_var('action',array('GET','POST'));
 
                $this->t->set_var('title','Hometeaching Sandbox'); 
index 7088901a00b40acd15ac0ae870e553d797dbbbba..9c4c7b594fd790b0f3238805c0fc40a55cf8cabd 100644 (file)
@@ -1,6 +1,6 @@
 <center>
 
-<script type="text/javascript" src="/tc/inc/jquery.js"></script>
+<script type="text/javascript" src="{jquery_url}"></script>
 <script type="text/javascript">                                         
 
  function updateSelections()