Menu

#172 MSIE 6 WinXP: Error raised importing dynapi.api.MouseEvent

open
nobody
5
2003-09-02
2003-09-02
No

Hi,

if I import dynapi.api.MouseEvent I get some strange
error messages saying that a variable is undefined. I
tracked
it down to mouse_ie.js. I changed Line 70ff like this:

if (e.type=="mouseout" || e.type=="mouseover") {
if (r && src && (r==src||src.isParentOf(r))) return;
//fix for #15 (ie only)
if (r && src && (r == src.parent ||
r.isChildOf(src.parent)) ) me.bubble=false;
}

The only difference to the original source is that src
is checked for "undefined", too. That did the trick for me.

The error was hardly reproducable, only one page I did
had this error (after whirling the mousepointer around
the screen ;)

BTW: DynAPI 3 is a huge step ahead! Great, great work!

Discussion

  • Raymond Irving

    Raymond Irving - 2003-09-05

    Logged In: YES
    user_id=696242

    Hi,

    Have you tested this with IE 4, 5 and 6?

    --
    Raymond Irving

     
  • Peter Romianowski

    Logged In: YES
    user_id=346105

    Hi Raymond,

    no, just tested it with IE6 on WinXP. If you are asking
    because of incompatibility issues that may arise applying
    this patch - I don't think there are any. Really the only
    thing I did is adding another check to assure that src is
    not undefined. Otherwise it raises a "Object undefined has
    no"-blablabla thing ;)

    Regards
    Peter Romianowski

     
  • Raymond Irving

    Raymond Irving - 2003-09-14

    Logged In: YES
    user_id=696242

    Thanks Peter,

    This patch is now inside CVS

    Keep up the good work.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.