From ce0f9ad80b2c399c53d13200f6c2147e4bdbb91c Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 9 Jan 2008 06:22:14 +0000 Subject: [PATCH] Put a delay on the suggestion, and minimum length. Hat tip: DerFichtl. git-svn-id: http://svn.automattic.com/wordpress/trunk@6577 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/js/post.js b/wp-admin/js/post.js index 4b549586cd..8ba8dc8ee9 100644 --- a/wp-admin/js/post.js +++ b/wp-admin/js/post.js @@ -73,5 +73,5 @@ addLoadEvent( function() { }); // auto-suggest stuff - jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text } ); + jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text, delay: 500, minchars: 2 } ); }); \ No newline at end of file