Skip to:
Content

BuddyPress.org

Changeset 6021


Ignore:
Timestamp:
05/11/2012 02:25:37 PM (10 years ago)
Author:
boonebgorges
Message:

Restore the line break between messages autocomplete results that serves as a delimiter for the autocomplete script. Fixes #4198

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r6017 r6021  
    912912                $username = $ud->user_nicename;
    913913
    914             echo '<span id="link-' . $username . '" href="' . bp_core_get_user_domain( $user_id ) . '"></span>' . bp_core_fetch_avatar( array( 'item_id' => $user_id, 'type' => 'thumb', 'width' => 15, 'height' => 15, 'alt' => $ud->display_name ) ) . ' &nbsp;' . bp_core_get_user_displayname( $user_id ) . ' (' . $username . ')';
     914            // Note that the final line break acts as a delimiter for the
     915            // autocomplete javascript and thus should not be removed
     916            echo '<span id="link-' . $username . '" href="' . bp_core_get_user_domain( $user_id ) . '"></span>' . bp_core_fetch_avatar( array( 'item_id' => $user_id, 'type' => 'thumb', 'width' => 15, 'height' => 15, 'alt' => $ud->display_name ) ) . ' &nbsp;' . bp_core_get_user_displayname( $user_id ) . ' (' . $username . ')' . "\n";
    915917        }
    916918    }
Note: See TracChangeset for help on using the changeset viewer.