Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 89668 invoked from network); 16 Jul 2002 02:21:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Jul 2002 02:21:53 -0000 Received: (qmail 17507 invoked by uid 97); 16 Jul 2002 02:22:10 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@jakarta.apache.org Received: (qmail 17418 invoked by uid 97); 16 Jul 2002 02:22:09 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 17407 invoked by uid 97); 16 Jul 2002 02:22:08 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 16 Jul 2002 02:21:42 -0000 Message-ID: <20020716022142.20095.qmail@icarus.apache.org> From: jholmes@apache.org To: jakarta-struts-cvs@apache.org Subject: cvs commit: jakarta-struts/conf/share validator-rules.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands, e-mail: