#2502 closed defect (bug) (fixed)
JS: bp_dtheme_hide_comments() doesn't work when using an AJAX request
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.2.6 | Priority: | normal |
Severity: | Version: | ||
Component: | Templates | Keywords: | has-patch |
Cc: |
Description
In the bp-default theme, when there are more than five root activity comments for an activity update, the latest five comments will be shown and the rest will be hidden.
However, when you click on any AJAX tab (eg. "All Members"), this doesn't work as expected.
The problem is the order in which bp_dtheme_hide_comments() is fired. The attached patch fixes this.
Btw, we need a new component in Trac specifically for the default theme ;)
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
'Theme' component added. Thanks for the patch r-a-y!