[buddypress-trac] [BuddyPress] #4844: Show all X comments should update when comments are deleted
buddypress-trac
noreply at wordpress.org
Mon May 6 00:49:36 UTC 2013
#4844: Show all X comments should update when comments are deleted
--------------------------+---------------------------
Reporter: modemlooper | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: low | Milestone: 1.8
Component: Activity | Version: 1.7
Severity: minor | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7002"]:
{{{
#!CommitTicketReference repository="" revision="7002"
Update 'Show all x comments' count after creating or deleting activity
comments
On activity permalink pages, the comment list is collapsed if the item has
more
than 6 responses, and a link is appended that reads 'Show all x comments'.
This
changeset introduces additional JavaScript to update this count when a new
activity comment is created, or an existing one is deleted, via AJAX.
In the process of making the change, the logic for constructing the 'Show
all
x comments' string was changed, so that it's now properly translatable.
Also cached a JS variable that was being used many times, to avoid
unnecessary
DOM traversal.
Fixes #4844
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4844#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list