Update of /var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/js In directory james.mmbase.org:/tmp/cvs-serv32165/js
Modified Files: 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.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- formcheck.js 11 Dec 2008 05:32:57 -0000 1.6 +++ formcheck.js 12 Dec 2008 06:19:28 -0000 1.7 @@ -23,25 +23,4 @@ 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]); - } - } - } -} + _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs