fabiomcosta / mootools-meio-autocomplete

A complete mootools Autocomplete plugin
http://www.meiocodigo.com/projects/meio-autocomplete/
32 stars 14 forks source link

Error when clicking outside of scrollable div #1

Closed XeNoMoRpH closed 14 years ago

XeNoMoRpH commented 14 years ago

When I was moving through the items that populated the scrollable div on your demo, I decided to click off of it to see if it was then hidden. I got the following error:

Line 226: this.elements.field.node.setCaretPosition is not a function

When it tried to do this.elements.field.node.setCaretPosition('end');

fabiomcosta commented 14 years ago

Its because you need Mootools-more Element.Form. Ive fixed this dependency on version 0.81.