Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-416

Javascript error with IE and Window Prototype

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15, 5.0.16, 5.0.17, 5.0.18
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      When using the Window Prototype js component (for instance from ChenilleKit) with IE, there is a javascript error when opening the window : "Style is null or isn't an object"

      Modifying the meethod getOffsetParent in prototype.js, l 2089, and replace

      while ((element = element.parentNode) && element != document.body )
      with
      while ((element = element.parentNode) && element != document.body && element != document)

      solves the issue. I know this is a Prototype issue, but since Tapestry 5 is due to be released, i think it ought to be dealt with.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              nicolas_c Nicolas Charles
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: