Update of
/var/cvs/contributions/didactor2/src/education/templates/education/wizards
In directory james.mmbase.org:/tmp/cvs-serv31450
Modified Files:
code.jsp
Added Files:
reloadMode.js
Log Message:
using jquery in stead of sarissa
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards
reloadMode.js is new
Index: code.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/code.jsp,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -b -r1.113 -r1.114
--- code.jsp 27 Mar 2008 14:58:10 -0000 1.113
+++ code.jsp 22 Aug 2008 11:12:11 -0000 1.114
@@ -17,20 +17,7 @@
referids="education_topmenu_course?">
<mm:param name="expires">0</mm:param>
<script type="text/javascript">
- function reloadMode() {
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.open('GET', '${_}', true);
- xmlhttp.onreadystatechange = function() {
- if (xmlhttp.readyState == 4) {
- var ser = new XMLSerializer();
- var s = ser.serializeToString(xmlhttp.responseXML);
- document.getElementById('mode-${mode}').innerHTML = s;
- restoreTree();
- storeTree();
- }
- }
- xmlhttp.send(null);
- }
+ <jsp:directive.include file="reloadMode.js" />
</script>
</mm:treefile>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs