Update of
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/js
In directory james.mmbase.org:/tmp/cvs-serv32285/js
Modified Files:
Tag: b1_5
formcheck.js
Log Message:
CMSC-949, Blocking users: user status enhancements,move javascript to jspf
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/js
See also: http://www.mmbase.org/jira/browse/CMSC-949
Index: formcheck.js
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/js/formcheck.js,v
retrieving revision 1.2.2.4
retrieving revision 1.2.2.5
diff -u -b -r1.2.2.4 -r1.2.2.5
--- formcheck.js 11 Dec 2008 05:24:43 -0000 1.2.2.4
+++ formcheck.js 12 Dec 2008 06:22:47 -0000 1.2.2.5
@@ -23,25 +23,3 @@
document.forms[0].method.value = "addInit";
document.forms[0].submit();
}
-function selectState(url,ele){
- surl=url+"&state="+ele.value
- // alert(surl);
- window.location.href =surl;
-}
-function onState(){
- var sels = document.getElementsByTagName("select");
- for (i = 0; i < sels.length; i++) {
- var sel = sels[i];
- var options = sel.getElementsByTagName("option");
- var v = options[0];
- if ("" == v.value) {
- options[0].parentNode.removeChild(options[0]);
- }
- for (j = 1; j < options.length; j++) {
- if (v.value.toUpperCase() == options[j].value.toUpperCase()) {
- options[j].selected=true;
- options[0].parentNode.removeChild(options[0]);
- }
- }
- }
-}
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs