From 81e0b35fd58150ab0f8c1cdfce51b6b46f6e6cdd Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 9 May 2011 22:31:07 +0000 Subject: Pulled in Jeff's patch to fix the user picker. git-svn-id: http://code.elgg.org/elgg/trunk@9058 36083f99-b078-4883-b0ff-0f9b5a30f544 --- js/lib/userpicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/lib/userpicker.js') diff --git a/js/lib/userpicker.js b/js/lib/userpicker.js index 475af150f..826bf21a0 100644 --- a/js/lib/userpicker.js +++ b/js/lib/userpicker.js @@ -75,9 +75,9 @@ elgg.userpicker.removeUser = function(link, guid) { elgg.userpicker.getSearchParams = function(e) { if ($(e).closest('.elgg-user-picker').find('[name=match_on]').attr('checked')) { - return {'match_on[]': 'friends'}; + return {'match_on[]': 'friends', 'term' : e.term}; } else { - return {'match_on[]': 'users'}; + return {'match_on[]': 'users', 'term' : e.term}; } } -- cgit v1.2.3