Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-222

IE Error in DataPicker.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 4.0
    • Framework
    • None
    • IE 6.0 SP2, Windows XP, Tapestry 3.0.1, XHTML Transitional

    Description

      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 }

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            mraible Matt Raible
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: