aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/userpicker.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 01:19:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 01:19:33 +0000
commit89ded32abebd0f2100e0014249df54bde7a44258 (patch)
tree81c542c9d101a75002a2cc3aed4e2de7e2eda9c5 /views/default/input/userpicker.php
parent6ed8d3f7c8b98f73ac461a7a45798b8f1ffb173b (diff)
downloadelgg-89ded32abebd0f2100e0014249df54bde7a44258.tar.gz
elgg-89ded32abebd0f2100e0014249df54bde7a44258.tar.bz2
Refs #2700 changed underscores to hyphens for the forms css elements
git-svn-id: http://code.elgg.org/elgg/trunk@7492 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/userpicker.php')
-rw-r--r--views/default/input/userpicker.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index fb98afc97..74ec10818 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -31,7 +31,7 @@ function user_picker_add_user($user_id) {
$code = '<li class="user_picker_entry">';
$code .= "<img class=\"livesearch_icon\" src=\"$icon\" />";
$code .= "$user->name - $user->username";
- $code .= '<div class="delete_button">';
+ $code .= '<div class="delete-button">';
$code .= "<a onclick=\"userPickerRemoveUser(this, $user_id)\"><strong>X</strong></a>";
$code .= '</div>';
$code .= "<input type=\"hidden\" name=\"members[]\" value=\"$user_id\">";
@@ -145,7 +145,7 @@ function userPickerAddUser(event, data, formatted) {
var formatted = userPickerFormatItem(data);
// add guid as hidden input and to list.
- var li = formatted + ' <div class="delete_button"><a onclick="userPickerRemoveUser(this, ' + info.guid + ')"><strong>X</strong></a></div>'
+ 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);