Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3244

"Object required" errors on Internet Explorer 7.0 in author mode

    XMLWordPrintable

Details

    Description

      In Internet Explorer 7.0 you regularly get Javascript errors with the debugger on, like this:

      A Runtime Error has occurred.
      Line: xxxx
      Error: Object required

      This is related to the getMousePos() function located in 'javascript.js', that is loaded in Author mode:

      function getMousePos(evt)
      {
      var x,y;
      if (document.all)
      {
      x=window.event.clientX+document.body.scrollLeft;

      Apparently 'window.event'clientX' or 'document.body.scrollLeft' are not always available and should be checked if they are undefined.

      Using the patch from MAGNOLIA-3013 might possibly fix this error.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                huskyr Hay Kranen
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD