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

Modified Files:
        utils.js 
Log Message:
cleaning


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


Index: utils.js
===================================================================
RCS file: /var/cvs/contributions/didactor2/src/core/templates/core/js/utils.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- utils.js    15 Mar 2008 09:43:10 -0000      1.7
+++ utils.js    20 Mar 2008 12:25:56 -0000      1.8
@@ -25,3 +25,10 @@
         }
     }
 }
+
+function check_passwords(loginId, passwordId) {
+    if (loginId == null) loginId = "loginUsername";
+    if (passwordId == null) passwordId = "loginPassword";
+    return document.getElementById(loginId).value.length > 0 &&
+       document.getElementById(passwordId).value.length > 0;
+}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to