Update of /var/cvs/contributions/didactor2/src/core/templates/content/js
In directory james.mmbase.org:/tmp/cvs-serv32513

Modified Files:
        open.jsp 
Log Message:
allowed to skip type


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


Index: open.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/templates/content/js/open.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- open.jsp    20 Mar 2008 11:12:40 -0000      1.3
+++ open.jsp    20 Mar 2008 13:41:11 -0000      1.4
@@ -243,6 +243,12 @@
     if (currentel != null) {
         currentel.className = "";
     }
+    if (/^[+-]?\d+$/.test(type)) {
+        el = number;
+        number = type;
+        type = null;
+    }
+
     if (el != null) {
         el.className = "active";
     }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to