[drupal-devel] [bug] Autocomplete throbber triggers on wrong events

Dries drupal-devel at drupal.org
Tue May 24 11:53:23 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:   Dries
 Status:       patch

We forgot to commit the throbber image.  Can't we cool up the throbber a
bit?  (Make it a rotating Druplicon or something. ;))




Dries



Previous comments:
------------------------------------------------------------------------

May 24, 2005 - 11: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).




------------------------------------------------------------------------

May 24, 2005 - 11:23 : Thox

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.







More information about the drupal-devel mailing list