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

                 Key: MAGNOLIA-3244
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3244
             Project: Magnolia
          Issue Type: Bug
          Components: admininterface
    Affects Versions: 4.3.2
            Reporter: Hay Kranen
            Assignee: Philipp Bärfuss


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to