mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-26 02:57:45 +01:00
27c0170224
git-svn-id: http://svn.automattic.com/wordpress/trunk@19903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
9 lines
256 B
JavaScript
9 lines
256 B
JavaScript
jQuery( function($) {
|
|
var id = typeof( current_site_id ) != 'undefined' ? '&site_id=' + current_site_id : '';
|
|
|
|
$( '#adduser-email, #newuser' ).autocomplete({
|
|
source: ajaxurl + '?action=autocomplete-user' + id,
|
|
delay: 500,
|
|
minLength: 2
|
|
});
|
|
}); |