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

Javascript error with IE and Window Prototype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.15, 5.0.16, 5.0.17, 5.0.18
    • 5.1.0.0
    • tapestry-core
    • 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

            hlship Howard Lewis Ship
            nicolas_c Nicolas Charles
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: