#3366 closed defect (bug) (fixed)
"Read More" AJAX duplicates across nested activity comments
| Reported by: | r-a-y | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Templates | Version: | 1.5 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.