Update of
/var/cvs/contributions/didactor2/src/education/templates/education/wizards
In directory james.mmbase.org:/tmp/cvs-serv29791
Modified Files:
index.jsp
Log Message:
using cookieId for the different modes, and added an expires (default to
session)
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards
Index: index.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/index.jsp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- index.jsp 9 Jan 2009 17:31:32 -0000 1.38
+++ index.jsp 10 Jan 2009 15:15:10 -0000 1.39
@@ -20,14 +20,18 @@
<script type="text/javascript" src="${_}"><jsp:text> </jsp:text></script>
</mm:link>
+ <mm:import externid="mode">educations</mm:import>
<script type="text/javascript">
$(document).ready(function() {
$('ul.treeview').treeview({
collapsed: true,
- persist: "cookie"
+ persist: "cookie",
+ cookieId: "treeview_${mode}",
+ cookieOptions: {expires: 100}
}
);
});
+
</script>
<div class="rows" id="rows">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs