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

Modified Files:
        tree.jspx 
Log Message:
Moved openContent method to Didactor.js


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


Index: tree.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/tree.jspx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- tree.jspx   25 Mar 2008 11:08:53 -0000      1.18
+++ tree.jspx   6 Mar 2009 10:55:07 -0000       1.19
@@ -84,7 +84,7 @@
 
         <mm:nodeinfo type="type">
           <a href="#_${_node}"
-             onclick="if(openOnly('div${_node}','img${_node}')) { openContent( 
'${_}','${_node}' ); }"><mm:field name="name" /></a>
+             onclick="if(openOnly('div${_node}','img${_node}')) { 
didactor.openContent( '${_}','${_node}' ); }"><mm:field name="name" /></a>
 
         </mm:nodeinfo>
 
@@ -211,7 +211,7 @@
                             <mm:link page="." 
referids="$referids,t...@learnobjectype,_n...@learnobject">
                               <mm:param name="frame" />
                               <a href="#"
-                                 onclick="if 
(openOnly('div${_node}','img${_node}')) { openContent('${type}', '${_node}' ); 
} return false;"
+                                 onclick="if 
(openOnly('div${_node}','img${_node}')) { didactor.openContent('${type}', 
'${_node}' ); } return false;"
                                  style="padding-left: 0px"><mm:field 
name="name"/></a>
                             </mm:link>
                           </mm:nodeinfo>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to