aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-07 20:40:43 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-07 20:40:43 +0000
commit8074132ffa8d45b9c03c87f193dce402bf849044 (patch)
tree70e2dc51881576b828e0e6f8e889c9291a300c96 /views/default/input
parent53d5e744ff1672b0c631d578f9ecdfdf981a1159 (diff)
downloadelgg-8074132ffa8d45b9c03c87f193dce402bf849044.tar.gz
elgg-8074132ffa8d45b9c03c87f193dce402bf849044.tar.bz2
Better jquery deleting of user entity for user picker.
git-svn-id: https://code.elgg.org/elgg/trunk@3479 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input')
-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 294f489ec..16d8b0e93 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -112,7 +112,7 @@ function userPickerAddUser(event, data, formatted) {
}
function userPickerRemoveUser(link, guid) {
- $(link).parent('.user_picker_entry').html('');
+ $(link).parent('.user_picker_entry').remove();
}
function userPickerGetSearchParams(e) {