jholmes 2002/07/15 19:21:41 Modified: conf/share validator-rules.xml Log: updated to use isNaN(value) instead of !value for validFloat() function PR: Bugzilla 9051 Revision Changes Path 1.7 +1 -1 jakarta-struts/conf/share/validator-rules.xml Index: validator-rules.xml =================================================================== RCS file: /home/cvs/jakarta-struts/conf/share/validator-rules.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- validator-rules.xml 14 Jul 2002 01:47:25 -0000 1.6 +++ validator-rules.xml 16 Jul 2002 02:21:41 -0000 1.7 @@ -392,7 +392,7 @@ form[oFloat[x][0]].type == 'radio') && (form[oFloat[x][0]].value.length > 0)) { var iValue = parseFloat(form[oFloat[x][0]].value); - if (!iValue) { + if ( isNaN(iValue) ) { if (i == 0) { focusField = form[oFloat[x][0]]; }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>