Skip to:
Content

BuddyPress.org

Ticket #5826: 5826.patch

File 5826.patch, 646 bytes (added by hnla, 10 years ago)

Enable user account screen Ajax for friend button

  • src/bp-templates/bp-legacy/js/buddypress.js

     
    12051205        });
    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'),
    12111211                        nonce   = jq(this).attr('href'),