]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixing code for JS userpicker remove function to cope with recent structure changes.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 27 May 2010 20:04:38 +0000 (20:04 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 27 May 2010 20:04:38 +0000 (20:04 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6257 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/input/userpicker.php

index 0bbf1eed97ebc0f294e9149ff070196f63a7626c..a9351a36f6662417ece4726c67fbdc5fa10dc1e9 100644 (file)
@@ -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) {