Fixed path to jsquery.js
[eq/.git] / templates / default / ht_sandbox.tpl
index 739a887f414c54bc0d8fb3f08ad2029d69613aaa..9c4c7b594fd790b0f3238805c0fc40a55cf8cabd 100644 (file)
@@ -1,12 +1,17 @@
 <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()
  {
    //alert($('#companionship :selected').attr('id')+' - '+$('#companionship :selected').val()+' - '+$('#companionship :selected').text());
    switch ($('#companionship :selected').val()) {
+    case '0':
+         $("#district option:selected").removeAttr("selected");
+         $("#assignedHT option:selected").removeAttr("selected");
+         $("#assignedFamilies option:selected").removeAttr("selected");
+    break;
 <!-- BEGIN switch_case_list -->
         {switch_case_list}
 <!-- END switch_case_list -->