WordPress/wp-admin/js/user-search.js
2012-02-10 18:30:49 +00:00

1 line
208 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"+b,delay:500,minLength:2})});