Changeset 2436
- Timestamp:
- 01/24/2010 10:53:59 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/_inc/global.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/global.js
r2434 r2436 7 7 8 8 /* Activity */ 9 if ( j('div.activity').length && !j('div.activity').hasClass('no-ajax') ) 10 bp_activity_request( j.cookie('bp-activity-scope'), j.cookie('bp-activity-filter') ); 9 if ( j('div.activity').length && !j('div.activity').hasClass('no-ajax') ) { 10 /* If there's a hash URL, try and use it. */ 11 if ( location.hash.length ) 12 var scope = location.hash.substr( 1, location.hash.length - 2 ); 13 else 14 var scope = j.cookie('bp-activity-scope'); 15 16 bp_activity_request( scope, j.cookie('bp-activity-filter') ); 17 } 11 18 12 19 /* Members */ … … 251 258 if ( null == filter ) 252 259 var filter = '-1'; 253 254 /* If there's a hash URL, try and use it. */255 if ( location.hash.length )256 var scope = location.hash.substr( 1, location.hash.length - 2 );257 260 258 261 /* Save the type and filter to a session cookie */
Note: See TracChangeset
for help on using the changeset viewer.