Skip to:
Content

BuddyPress.org

Ticket #5475: bp_filter_request_animation.patch

File bp_filter_request_animation.patch, 864 bytes (added by dcavins, 12 years ago)
  • bp-templates/bp-legacy/js/buddypress.js

    diff --git bp-templates/bp-legacy/js/buddypress.js bp-templates/bp-legacy/js/buddypress.js
    index 610f704..769110c 100644
    function bp_filter_request( object, filter, scope, target, search_terms, page, e 
    16121612                if ( caller == 'pag-bottom' && jq('#subnav').length ) {
    16131613                        var top = jq('#subnav').parent();
    16141614                        jq('html,body').animate({scrollTop: top.offset().top}, 'slow', function() {
    1615                                 jq(target).fadeOut( 100, function() {
    1616                                         jq(this).html(response);
    1617                                         jq(this).fadeIn(100);
    1618                                 });
     1615                                jq(target).html(response);
    16191616                        });
    16201617
    16211618                } else {
    1622                         jq(target).fadeOut( 100, function() {
    1623                                 jq(this).html(response);
    1624                                 jq(this).fadeIn(100);
    1625                         });
     1619                        jq(target).html(response);
    16261620                }
    16271621
    16281622                jq('.item-list-tabs li.selected').removeClass('loading');