Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#3366 closed defect (bug) (fixed)

"Read More" AJAX duplicates across nested activity comments

Reported by: r-a-y's profile r-a-y 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)

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

Download all attachments as: .zip

Change History (5)

@r-a-y
13 years ago

#1 @r-a-y
13 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 13 years ago by r-a-y (previous) (diff)

#2 @boonebgorges
13 years ago

  • Milestone changed from Awaiting Review to 1.3

#3 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.