commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r507685 - /jakarta/commons/proper/validator/trunk/src/javascript/org/apache/commons/validator/javascript/validateUtilities.js
Date Wed, 14 Feb 2007 20:41:35 GMT
Author: niallp
Date: Wed Feb 14 12:41:34 2007
New Revision: 507685

URL: http://svn.apache.org/viewvc?view=rev&rev=507685
Log:
VALIDATOR-224 - replace colon characters in the function name (JSF/Shale)

Modified:
    jakarta/commons/proper/validator/trunk/src/javascript/org/apache/commons/validator/javascript/validateUtilities.js

Modified: jakarta/commons/proper/validator/trunk/src/javascript/org/apache/commons/validator/javascript/validateUtilities.js
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/src/javascript/org/apache/commons/validator/javascript/validateUtilities.js?view=diff&rev=507685&r1=507684&r2=507685
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/javascript/org/apache/commons/validator/javascript/validateUtilities.js
(original)
+++ jakarta/commons/proper/validator/trunk/src/javascript/org/apache/commons/validator/javascript/validateUtilities.js
Wed Feb 14 12:41:34 2007
@@ -51,6 +51,9 @@
           }
       }
 
+      /* fix for VALIDATOR-224 */
+      formName = formName.replace(/:/gi, "_");
+
       return formName;
 
   }  



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message