Skip to:
Content

BuddyPress.org

Changeset 9277


Ignore:
Timestamp:
12/24/2014 08:24:00 PM (10 years ago)
Author:
djpaul
Message:

Templates: fix regression in AJAX functionality for Add/Remove Friends button on user account screens.

Fixes #5826, props hnla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/js/buddypress.js

    r9250 r9277  
    12061206
    12071207    /* Add / Remove friendship buttons */
    1208     jq( '#members-dir-list, #members-group-list' ).on('click', '.friendship-button a', function() {
     1208    jq( '#members-dir-list, #members-group-list, #item-header' ).on('click', '.friendship-button a', function() {
    12091209        jq(this).parent().addClass('loading');
    12101210        var fid   = jq(this).attr('id'),
Note: See TracChangeset for help on using the changeset viewer.