You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/24 01:24:10 UTC

[jira] Assigned: (TAPESTRY-222) IE Error in DataPicker.js

     [ http://issues.apache.org/jira/browse/TAPESTRY-222?page=all ]

Howard M. Lewis Ship reassigned TAPESTRY-222:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> IE Error in DataPicker.js
> -------------------------
>
>          Key: TAPESTRY-222
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-222
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.1
>  Environment: IE 6.0 SP2, Windows XP, Tapestry 3.0.1, XHTML Transitional
>     Reporter: Matt Raible
>     Assignee: Howard M. Lewis Ship
>     Priority: Minor

>
> For some reason, the date picker throws an exception in IE in my app.  Works fine in Firefox.  I patched DatePicker.js by adding a try/catch block around the following code and it fixed the problem for me (and the calendar works).  Just FYI, I had to add this same patch to MyFaces popup calendar component too.
>       try {
>           do {
>               aTag = aTag.offsetParent;
>               leftpos	+= aTag.offsetLeft;
>               toppos += aTag.offsetTop;
>           } while(aTag.tagName!="BODY");
>       } catch (ex) { 
>           // ignore 
>       }

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org