Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 10 years ago

#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)

3366.01.patch (608 bytes ) - added by r-a-y 15 years ago.

Download all attachments as: .zip

Change History (5)

@r-a-y
15 years ago

#1 @r-a-y
15 years ago

  • Keywords has-patch added

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.

Last edited 15 years ago by r-a-y (previous) (diff)

#2 @boonebgorges
15 years ago

  • Milestone Awaiting Review1.3

#3 @boonebgorges
15 years ago

  • Resolutionfixed
  • Status newclosed

(In [4790]) Ensure that only the intended activity comment is expanded via AJAX when clicking Read More. Fixes #3366. Props r-a-y

#4 @DJPaul
10 years ago

  • Component Appearance - Template PartsTemplates
Note: See TracTickets for help on using tickets.