WordPress.org

Make WordPress Core

Changeset 6577


Ignore:
Timestamp:
01/09/2008 06:22:14 AM (13 years ago)
Author:
matt
Message:

Put a delay on the suggestion, and minimum length. Hat tip: DerFichtl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/post.js

    r6542 r6577  
    7474
    7575    // auto-suggest stuff
    76     jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text } );
     76    jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text, delay: 500, minchars: 2 } );
    7777});
Note: See TracChangeset for help on using the changeset viewer.