#3366 closed defect (bug) (fixed)
"Read More" AJAX duplicates across nested activity comments
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Templates | Keywords: | has-patch |
Cc: |
Description
Example:
http://testbp.org/members/micheal/#activity-105105
Click on the "Read More" link in the activity comments.
The AJAX response duplicates for the child comment as well.
Looking into it.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Because nested activity comments share the same div class under the same parent, the AJAX response was duplicating under activity comment childs.
Attached patch adds the ":first" selector to the Read More AJAX response, thus only expanding the AJAX response to the first match.