[drupal-devel] [bug] Autocomplete throbber triggers on wrong events
Thox
drupal-devel at drupal.org
Tue May 24 09:23:48 UTC 2005
Issue status update for http://drupal.org/node/23506
Project: Drupal
Version: cvs
Component: base system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: Thox
Updated by: Thox
Status: patch
Attachment: http://drupal.org/files/issues/autocomplete.js_0.patch (1.59 KB)
Changed the name of the issue because it's not just HTTP errors that
make the throbber start/stop at the right time.
When typing something in the autocomplete box, there's a 300ms delay
before the HTTP request is made. The throbber should start when the
HTTP request is made and end when the HTTP request finishes.
Thox
Previous comments:
------------------------------------------------------------------------
May 24, 2005 - 09:05 : Thox
Attachment: http://drupal.org/files/issues/autocomplete.js.patch (1.14 KB)
When using an autocomplete field, the throbber icon does not dissapear
after HTTP errors (e.g. 404 if the autocomplete url is not found).
Attached patch fixes this and also makes it work in one of my modules
where the same autocomplete javascript object (ACDB) is shared by many
controls (they're all recipe ingredient fields, so they share the same
cache).
More information about the drupal-devel
mailing list