aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/userpicker.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 18:29:40 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 18:29:40 +0000
commit13ce08f2b8eabab1267959b72025c31c422b1cd7 (patch)
treebecdc43ee13984d621a588b4dc7e7ef8190717e6 /views/default/input/userpicker.php
parentabea818df6ae3d429a87a2d195ed0eb1b4ea65f4 (diff)
downloadelgg-13ce08f2b8eabab1267959b72025c31c422b1cd7.tar.gz
elgg-13ce08f2b8eabab1267959b72025c31c422b1cd7.tar.bz2
Updated userpicker to use generic delete button
git-svn-id: http://code.elgg.org/elgg/trunk@5483 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/userpicker.php')
-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 18f3085c2..0bbf1eed9 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -109,7 +109,7 @@ function userPickerAddUser(event, data, formatted) {
var formatted = userPickerFormatItem(data);
// add guid as hidden input and to list.
- var li = formatted + ' <a class="delete_collection" onclick="userPickerRemoveUser(this, ' + info.guid + ')"><strong>X</strong></a>'
+ var li = formatted + ' <div class="delete_button"><a onclick="userPickerRemoveUser(this, ' + info.guid + ')"><strong>X</strong></a></div>'
+ '<input type="hidden" name="' + internalName + '[]" value="' + info.guid + '" />';
$('<li class="user_picker_entry">').html(li).appendTo(users);