--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wp/wp-admin/js/user-suggest.js Wed Nov 06 03:21:17 2013 +0000
@@ -0,0 +1,13 @@
+(function($) {
+ var id = 'undefined' !== typeof current_site_id ? '&site_id=' + current_site_id : '';
+ $(document).ready( function() {
+ $( '.wp-suggest-user' ).autocomplete({
+ source: ajaxurl + '?action=autocomplete-user&autocomplete_type=add' + id,
+ delay: 500,
+ minLength: 2,
+ position: ( 'undefined' !== typeof isRtl && isRtl ) ? { my: 'right top', at: 'right bottom', offset: '0, -1' } : { offset: '0, -1' },
+ open: function() { $(this).addClass('open'); },
+ close: function() { $(this).removeClass('open'); }
+ });
+ });
+})(jQuery);
\ No newline at end of file