Ticket #7896: 7896.01.patch
| File 7896.01.patch, 744 bytes (added by , 8 years ago) |
|---|
-
src/bp-templates/bp-legacy/js/buddypress.js
1739 1739 1740 1740 /* Setup activity scope and filter based on the current cookie settings. */ 1741 1741 function 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 1742 1748 if ( undefined !== jq.cookie('bp-activity-filter') && jq('#activity-filter-select').length ) { 1743 1749 jq('#activity-filter-select select option[value="' + jq.cookie('bp-activity-filter') + '"]').prop( 'selected', true ); 1744 1750 }