commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r478566 - in /jakarta/commons/proper/validator/trunk: src/javascript/org/apache/commons/validator/javascript/validateUtilities.js xdocs/changes.xml
Date Thu, 23 Nov 2006 13:24:38 GMT
Author: niallp
Date: Thu Nov 23 05:24:38 2006
New Revision: 478566

URL: http://svn.apache.org/viewvc?view=rev&rev=478566
Log:
VALIDATOR-208 - JavaScript function jcv_isFieldPresent() causes error in IE5 using "undefined"
- thanks to Leo Asanov

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

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=478566&r1=478565&r2=478566
==============================================================================
--- 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
Thu Nov 23 05:24:38 2006
@@ -87,7 +87,7 @@
    */
   function jcv_isFieldPresent(field) {
       var fieldPresent = true;
-      if (field == null || field == undefined) {
+      if (field == null || (typeof field == 'undefined')) {
           fieldPresent = false;
       } else {
           if (field.disabled) {

Modified: jakarta/commons/proper/validator/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/xdocs/changes.xml?view=diff&rev=478566&r1=478565&r2=478566
==============================================================================
--- jakarta/commons/proper/validator/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/validator/trunk/xdocs/changes.xml Thu Nov 23 05:24:38 2006
@@ -40,6 +40,9 @@
   <body>
 
     <release version="1.3.1" date="Pending">
+      <action dev="niallp" type="fix" issue="VALIDATOR-208" due-to="Leo Asanov">
+        JavaScript function jcv_isFieldPresent() causes error in IE5 using "undefined".
+      </action>
       <action dev="niallp" type="fix" issue="VALIDATOR-190">
         EmailValidator allows control characters (ASCII 0-31 and 127).
         <dueto name="Cott"/>



---------------------------------------------------------------------
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