Skip to:
Content

BuddyPress.org

Ticket #7896: 7896.01.patch

File 7896.01.patch, 744 bytes (added by r-a-y, 8 years ago)
  • src/bp-templates/bp-legacy/js/buddypress.js

     
    17391739
    17401740/* Setup activity scope and filter based on the current cookie settings. */
    17411741function bp_init_activity() {
     1742        // Remove the 'oldestpage' cookie to start fresh.
     1743        jq.removeCookie('bp-activity-oldestpage', {
     1744                path: '/',
     1745                secure: ( 'https:' === window.location.protocol )
     1746        });
     1747
    17421748        if ( undefined !== jq.cookie('bp-activity-filter') && jq('#activity-filter-select').length ) {
    17431749                jq('#activity-filter-select select option[value="' + jq.cookie('bp-activity-filter') + '"]').prop( 'selected', true );
    17441750        }