aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 20:04:38 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 20:04:38 +0000
commit9cc2ad30bf7a0e5a1e5c90f49794ab6eaafd51ba (patch)
treee31c9b924349f1f375d6d5749f0fe8e87d652569
parentd32e714cc14f54b06a09a203e6ec56d3da01a5a3 (diff)
downloadelgg-9cc2ad30bf7a0e5a1e5c90f49794ab6eaafd51ba.tar.gz
elgg-9cc2ad30bf7a0e5a1e5c90f49794ab6eaafd51ba.tar.bz2
Fixing code for JS userpicker remove function to cope with recent structure changes.
git-svn-id: http://code.elgg.org/elgg/trunk@6257 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/input/userpicker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index 0bbf1eed9..a9351a36f 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -117,7 +117,7 @@ function userPickerAddUser(event, data, formatted) {
}
function userPickerRemoveUser(link, guid) {
- $(link).parent('.user_picker_entry').remove();
+ $(link).parents('.user_picker_entry').remove();
}
function userPickerGetSearchParams(e) {