Changeset 9055
- Timestamp:
- 09/29/2014 06:02:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/src/bp-templates/bp-legacy/js/buddypress.js
r9044 r9055 1559 1559 /* Clear BP cookies on logout */ 1560 1560 jq('a.logout').on( 'click', function() { 1561 jq. cookie('bp-activity-scope', null, {1561 jq.removeCookie('bp-activity-scope', { 1562 1562 path: '/' 1563 1563 }); 1564 jq. cookie('bp-activity-filter', null, {1564 jq.removeCookie('bp-activity-filter', { 1565 1565 path: '/' 1566 1566 }); 1567 jq. cookie('bp-activity-oldestpage', null, {1567 jq.removeCookie('bp-activity-oldestpage', { 1568 1568 path: '/' 1569 1569 }); … … 1571 1571 var objects = [ 'members', 'groups', 'blogs', 'forums' ]; 1572 1572 jq(objects).each( function(i) { 1573 jq. cookie('bp-' + objects[i] + '-scope', null, {1573 jq.removeCookie('bp-' + objects[i] + '-scope', { 1574 1574 path: '/' 1575 1575 } ); 1576 jq. cookie('bp-' + objects[i] + '-filter', null, {1576 jq.removeCookie('bp-' + objects[i] + '-filter', { 1577 1577 path: '/' 1578 1578 } ); 1579 jq. cookie('bp-' + objects[i] + '-extras', null, {1579 jq.removeCookie('bp-' + objects[i] + '-extras', { 1580 1580 path: '/' 1581 1581 } );
Note: See TracChangeset
for help on using the changeset viewer.