This project is archived and is in readonly mode.

#240 ✓resolved
philogb

bug in fireForParent method in Tips

Reported by philogb | January 22nd, 2010 @ 09:04 AM

Current code is:

fireForParent: function(event, element){
    if (!element) return;
    parentNode = element.getParent();
    if (parentNode == document.body) return;
    if (parentNode.retrieve('tip:enter')) parentNode.fireEvent('mouseenter', event);
    else this.fireForParent(parentNode, event);  <-- BOOM!
},

Possible fix:

fireForParent: function(event, element){
    if (!element) return;
    parentNode = element.getParent();
    if (parentNode == document.body) return;
    if (parentNode.retrieve('tip:enter')) parentNode.fireEvent('mouseenter', event);
    else this.fireForParent(event, parentNode);
},

Comments and changes to this ticket

  • fakedarren

    fakedarren January 25th, 2010 @ 12:01 AM

    • State changed from “new” to “resolved”
    • Assigned user set to “fakedarren”

    sigh duplicates the other 100 tickets about this issue, resolved, just need to release

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket

Tags

Pages