commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (VALIDATOR-208) jcv_isFieldPresent function causes error in IE5
Date Thu, 23 Nov 2006 13:29:05 GMT
     [ http://issues.apache.org/jira/browse/VALIDATOR-208?page=all ]

Niall Pemberton resolved VALIDATOR-208.
---------------------------------------

    Fix Version/s: 1.3.1
       Resolution: Fixed
         Assignee: Niall Pemberton

Fixed, thanks!

http://svn.apache.org/viewvc?view=rev&revision=478566

I've tested this on IE6 and Firefox 1.5 - but if you could test on IE5 it would be appreciated.
You can download the next nightly build to test it out here:

http://people.apache.org/builds/jakarta-commons/nightly/commons-validator/

Niall

> jcv_isFieldPresent function causes error in IE5
> -----------------------------------------------
>
>                 Key: VALIDATOR-208
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-208
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 1.3.0 Release
>         Environment: Internet Explorer 5.01
>            Reporter: Leo Asanov
>         Assigned To: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Hi,
> In jcv_isFieldPresent function code   
> "if (field == null || field == undefined)"
> causes Javascript error in IE5. 
> Should be 
> if (field == null || typeof field == 'undefined') 
> That way it should work in all browsers.
> I guess it would make sense to do a search for other references to "undefined" in javascript
code.
> Regards,
> Leo
> P.S. The following link has the instructions on how to run IE5 without need to install
it locally. You night find it useful.
> http://labs.insert-title.com/labs/Multiple-IEs-in-Windows_article795.aspx

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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