diff -r 2f6f6f7551ca -r 32102edaa81b web/wp-admin/js/user-suggest.dev.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-admin/js/user-suggest.dev.js Mon Nov 19 18:26:13 2012 +0100 @@ -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