Skip to:
Content

BuddyPress.org

Changeset 5111


Ignore:
Timestamp:
09/06/2011 12:49:12 PM (13 years ago)
Author:
boonebgorges
Message:

Changes CSS class on group tabs so that AJAX is run correctly. References #3539.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r5081 r5111  
    5050        }
    5151
     52        // List type depends on our current component
     53        $list_type = bp_is_group() ? 'groups' : 'personal';
     54
    5255        // echo out the final list item
    53         echo apply_filters( 'bp_get_options_nav_' . $subnav_item['css_id'], '<li id="' . $subnav_item['css_id'] . '-personal-li" ' . $selected . '><a id="' . $subnav_item['css_id'] . '" href="' . $subnav_item['link'] . '">' . $subnav_item['name'] . '</a></li>', $subnav_item );
     56        echo apply_filters( 'bp_get_options_nav_' . $subnav_item['css_id'], '<li id="' . $subnav_item['css_id'] . '-' . $list_type . '-li" ' . $selected . '><a id="' . $subnav_item['css_id'] . '" href="' . $subnav_item['link'] . '">' . $subnav_item['name'] . '</a></li>', $subnav_item );
    5457    }
    5558}
Note: See TracChangeset for help on using the changeset viewer.