Update of /var/cvs/contributions/didactor2/src/education/templates/education/js
In directory james.mmbase.org:/tmp/cvs-serv1278

Modified Files:
        frontend_tree.jsp tree.jsp 
Log Message:
made more generic


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/js


Index: frontend_tree.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/js/frontend_tree.jsp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- frontend_tree.jsp   5 Feb 2008 15:45:00 -0000       1.24
+++ frontend_tree.jsp   15 Feb 2008 14:44:48 -0000      1.25
@@ -258,10 +258,6 @@
     case "educations":
         href = addParameter('<mm:treefile page="/education/educations.jsp" 
objectlist="$includePath" referids="$referids" escapeamps="false"/>', 
'edu='+number);
         break;
-    case "learnblocks":
-    case "htmlpages":
-        href= addParameter('<mm:treefile 
page="/education/learnblocks/index.jsp" objectlist="$includePath" 
referids="$referids,fb_madetest?" escapeamps="false"/>', 'learnobject='+number);
-        break;
     case "tests":
         href= addParameter('<mm:treefile page="/education/tests/index.jsp" 
objectlist="$includePath" referids="$referids,fb_madetest?,justposted?" 
escapeamps="false"/>', 'learnobject='+number);
         break;
@@ -271,6 +267,9 @@
     case "flashpages":
         href= addParameter('<mm:treefile 
page="/education/flashpages/index.jsp" objectlist="$includePath" 
referids="$referids,fb_madetest?" escapeamps="false"/>', 'learnobject='+number);
         break;
+    default:
+        href= addParameter('<mm:treefile 
page="/education/learnblocks/index.jsp" objectlist="$includePath" 
referids="$referids,fb_madetest?" escapeamps="false"/>', 'learnobject='+number);
+        break;
     }
     requestContent(href);
 


Index: tree.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/js/tree.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- tree.jsp    11 Jul 2007 14:53:50 -0000      1.2
+++ tree.jsp    15 Feb 2008 14:44:48 -0000      1.3
@@ -13,7 +13,6 @@
     }
 }
 
-
 function storeTree() {
     var xmlhttp =  new XMLHttpRequest();
     var ser = "";
@@ -59,7 +58,6 @@
         }
     }
 }
-
 function clickNode(node) {
     el = document.getElementById(node);
     if (el != null) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to