Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/js
In directory james.mmbase.org:/tmp/cvs-serv23481/src/webapp/editors/community/js

Modified Files:
      Tag: b1_5
        formcheck.js 
Log Message:
CMSC-949, Blocking users: user status enhancements,add i18n script


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.3
retrieving revision 1.2.2.4
diff -u -b -r1.2.2.3 -r1.2.2.4
--- formcheck.js        8 Dec 2008 07:00:46 -0000       1.2.2.3
+++ formcheck.js        11 Dec 2008 05:24:43 -0000      1.2.2.4
@@ -39,7 +39,8 @@
         }
         for (j = 1; j < options.length; j++) {
             if (v.value.toUpperCase() == options[j].value.toUpperCase()) {
-                options[j].parentNode.removeChild(options[j]);
+                options[j].selected=true;
+                options[0].parentNode.removeChild(options[0]);
             }
         }
     }
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to