aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-09 22:31:07 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-09 22:31:07 +0000
commit81e0b35fd58150ab0f8c1cdfce51b6b46f6e6cdd (patch)
tree5b21f80ed5cbe152e34f3faa692721e45753aa5a /js
parentf1de8bebee841749c342df0a34591a84d8d5d4e3 (diff)
downloadelgg-81e0b35fd58150ab0f8c1cdfce51b6b46f6e6cdd.tar.gz
elgg-81e0b35fd58150ab0f8c1cdfce51b6b46f6e6cdd.tar.bz2
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
Diffstat (limited to 'js')
-rw-r--r--js/lib/userpicker.js4
1 files changed, 2 insertions, 2 deletions
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};
}
}