CoreFiles by mySites.guru
user-search.dev.js21 lines, 609 bytes, from wordpress-3.4-beta3.zip
Raw History Compare with 3.4-beta2
md5
3cf6a1a66d72e3be5d1fba2f6bcabd93
sha1
c66c5e4555a382c88fe5ccda7e2d6d1599519418
sha256
6ff7c0674fcea0c71ae0481990fec1159e50698440b49a4568a59122f83c05d7
jQuery( function($) {
	var id = typeof( current_site_id ) != 'undefined' ? '&site_id=' + current_site_id : '';

	$( '#adduser-email, #newuser' ).autocomplete({
		source:   ajaxurl + '?action=autocomplete-user&autocomplete_type=add' + id,
		delay:    500,
		minLength: 2
	});

	$( '#user-search-input' ).autocomplete({
		source:   ajaxurl + '?action=autocomplete-user&autocomplete_type=search' + id,
		delay:    500,
		minLength: 2
	});

	$( '#all-user-search-input' ).autocomplete({
		source:   ajaxurl + '?action=autocomplete-user&autocomplete_type=search-all' + id,
		delay:    500,
		minLength: 2
	});
});

The same content is in 3 releases, WordPress 3.4-beta1 to 3.4-beta3. See them all, or every version of this file.