You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does break a lot of code (including the Scriptaculous Autocompleter for example)... Is this the desired behaviour?
Best regards,
Leo
I can't duplicate that here, using your code in an otherwise blank HTML5 document. You may have something else going on in this page that is causing this to happen for you. Can you post a link to a broken example?
Walter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
thank you very much for the fast response... It seems you are right - I could not reproduce this issue on a blank page. In my installation however I traced the error back to firstDescendant().
It seems that Node.ELEMENT_NODE holds no value (undefined). In older versions Prototype simply used "1" instead of this constant.
I also use quite some other libraries (CKEditor, D3, Scriptaculous, jit, excanvas, ...). Maybe one of these break my code then...
Leo
EDIT
Oh jesus, I found it... Some old code, used to display a tree, defines a global "Node" variable.
Hi,
I'm experiencing a problem in Prototype 1.7.3 with the
.down()
method, when called without any parameter.Given this simple HTML for example:
And this Javascript:
This does break a lot of code (including the Scriptaculous Autocompleter for example)... Is this the desired behaviour?
Best regards,
Leo
The text was updated successfully, but these errors were encountered: