Wordpress/wp-admin/js/user-search.js
2012-02-10 09:00:50 +00:00

1 line
209 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,})});