From 9cc2ad30bf7a0e5a1e5c90f49794ab6eaafd51ba Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 27 May 2010 20:04:38 +0000 Subject: 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 --- views/default/input/userpicker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3