This project is archived and is in readonly mode.

#277 ✓invalid

Tips class fires 'element.getParent is not a function' error.

Reported by bigbug | March 2nd, 2010 @ 01:09 PM

element.getParent is not a function
[Break on this error] parentNode = element.getParent();

script: Tips.js

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);

NOTICE THE LAST LINE OF fireForParent function, I thinks it shoud be

    else this.fireForParent(event, parentNode);


Comments and changes to this ticket

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