mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 23:55:12 +01:00
e52ee97665
git-svn-id: http://svn.automattic.com/wordpress/trunk@20280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 line
502 B
JavaScript
1 line
502 B
JavaScript
jQuery(function(a){var b=typeof(current_site_id)!="undefined"?"&site_id="+current_site_id:"";a("#adduser-email, #newuser").autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type=add"+b,delay:500,minLength:2});a("#user-search-input").autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type=search"+b,delay:500,minLength:2});a("#all-user-search-input").autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type=search-all"+b,delay:500,minLength:2})}); |