[Rails] Fwd: Problem with autocompletion on firefox.

Márcio Francisco marciorf at gmail.com
Thu Dec 15 11:57:37 GMT 2005


I have found something on Demetrius blog (http://dema.ruby.org).
http://dema.ruby.com.br/articles/2005/05/06/be-careful-when-mixing-ajax-and-popup-windows-on-firefox

He says we should use javascript setTimeOut function, but as I'm using
text_field_with_auto_complete, I see no way of calling this function.

So, is there a way to use setTimeOut with text_field_with_auto_complete?
Or any other to help me with this?

Thanks

---------- Forwarded message ----------
From: Márcio Francisco <marciorf at gmail.com>
Date: Dec 9, 2005 2:44 PM
Subject: Problem with autocompletion on firefox.
To: rails at lists.rubyonrails.org


Im facing some problems with autocomplete on firefox.

Im using autocomplete_for helper. It shows the data correctly, but if I
select one to input, it fills the text with spaces.
That doesn't happens on IE6. I have newer versions of rails and
scriptaculous.

Using firefox developer plugin I see the following error:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://browser/content/browser.js :: Shutdown :: line 809"  data: no]

Can anyone help me on that?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20051215/ca43e581/attachment.html


More information about the Rails mailing list