Would it be acceptable to add a throbber to the category completion?
At least then the user is aware that something is happening during
an unacceptably long interval required to return all the categories.
I used this one:
http://en.wikipedia.org/wiki/File:Spinning_wheel_throbber.gif
comp/widgets/story_prof/edit_new.html
// add throbber after Primary Category text field
var throbber = new Element('img',
{ id: 'category_autocomplete_indicator',
src: '/media/images/Spinning_wheel_throbber.gif' });
Element.hide(throbber);
$('new_category_uri').insert({ after: throbber });
new Ajax.Autocompleter("new_category_uri", "category_autocomplete_choices",
"/widgets/story_prof/autocomplete_categories.html",
{
onEmpty: function() {
Element.show('new_cat_warning'); },
onNotEmpty: function() {
Element.hide('new_cat_warning') },
onEnter: function() {
catListMan.add('new_category_uri') },
minChars: 3,
indicator: 'category_autocomplete_indicator',
parameters: 'site_id=<% $site_id %>'
}
At least then the user is aware that something is happening during
an unacceptably long interval required to return all the categories.
I used this one:
http://en.wikipedia.org/wiki/File:Spinning_wheel_throbber.gif
comp/widgets/story_prof/edit_new.html
// add throbber after Primary Category text field
var throbber = new Element('img',
{ id: 'category_autocomplete_indicator',
src: '/media/images/Spinning_wheel_throbber.gif' });
Element.hide(throbber);
$('new_category_uri').insert({ after: throbber });
new Ajax.Autocompleter("new_category_uri", "category_autocomplete_choices",
"/widgets/story_prof/autocomplete_categories.html",
{
onEmpty: function() {
Element.show('new_cat_warning'); },
onNotEmpty: function() {
Element.hide('new_cat_warning') },
onEnter: function() {
catListMan.add('new_category_uri') },
minChars: 3,
indicator: 'category_autocomplete_indicator',
parameters: 'site_id=<% $site_id %>'
}