Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5083

Error when creating notification during the document loading phase in IE6/7

    XMLWordPrintable

Details

    • Trivial

    Description

      This is caused by the fact that the code that generates the notification container uses document.body.insert, which doesn't work in IE6/7 if document.body hasn't been manually extended with Prototype's methods, so it should be accessed with $(document.body). Normally it works since another script already uses $ to extend the body, but depending on the order that scripts receive the dom:loaded event, sometimes notifications can't be created during the dom:loaded phase.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: