Auto_complete and Prototype 1.6.0.3


#1

We’ve got a site running on Rails 2.2.2 with Prototype 1.6.0.3 that uses
the rails/auto_complete plugin from github. We just discovered that,
in IE7 (haven’t tried IE8 yet), when a user types a name into the
auto_complete text field, the query gets sent to the server fine and the
server returns it’s results fine, but then IE doesn’t do anything with
it. As far as the user can tell, absolutely nothing happened. If, after
that first request, the user then changes the text in the text field, a
new query is initiated, and from then on (until the page is reloaded)
auto_completing works just fine.

On a whim, downgraded Prototype to 1.6.0.1, and suddenly IE started
behaving properly.

I find it hard to believe that we’re the only one’s experiencing this.
Has anyone else seen this? Or are there really that few developers that
are using auto_complete in conjunction with Prototype 1.6.0.3 that have
also bothered to check to see if it works in IE?

http://www.5valleys.com/

http://www.workingwithrails.com/person/8078


#2

I guess it depends on how you have it coded. Some of the autocomplete
stuff was moved out into a plugin which may not be maintained anymore.


#3

Yeah, I’m using that plugin. But the point is that whether or not it
works doesn’t depend on the plugin, it depends on the version of
Prototype. It doesn’t work with Prototype 1.6.0.3 or 1.6.0.2, but I
can’t believe this has been an issue since January 2008 (when 1.6.0.2
was released) and nobody’s noticed until now.

Brian H. wrote:

it. As far as the user can tell, absolutely nothing happened. If, after
also bothered to check to see if it works in IE?

http://www.5valleys.com/

http://www.workingwithrails.com/person/8078