You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by dg...@apache.org on 2003/02/14 06:24:04 UTC
cvs commit: jakarta-struts/conf/share validator-rules.xml
dgraham 2003/02/13 21:24:04
Modified: conf/share validator-rules.xml
Log:
Fixed variable name issue for PR# 17056.
Revision Changes Path
1.24 +3 -3 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.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- validator-rules.xml 21 Jan 2003 03:19:11 -0000 1.23
+++ validator-rules.xml 14 Feb 2003 05:24:04 -0000 1.24
@@ -436,13 +436,13 @@
function isAllDigits(argvalue) {
argvalue = argvalue.toString();
- var validchars = "0123456789";
+ var validChars = "0123456789";
var startFrom = 0;
if (argvalue.substring(0, 2) == "0x") {
- validchars = "0123456789abcdefABCDEF";
+ validChars = "0123456789abcdefABCDEF";
startFrom = 2;
} else if (argvalue.charAt(0) == "0") {
- validchars = "01234567";
+ validChars = "01234567";
startFrom = 1;
}
for (var n = 0; n < argvalue.length; n++) {
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org