[buddypress-trac] [BuddyPress] #4844: Show all X comments should update when comments are deleted
buddypress-trac
noreply at wordpress.org
Mon May 6 00:09:18 UTC 2013
#4844: Show all X comments should update when comments are deleted
--------------------------+------------------
Reporter: modemlooper | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 1.8
Component: Activity | Version: 1.7
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by boonebgorges):
In [changeset:"7000"]:
{{{
#!CommitTicketReference repository="" revision="7000"
When activity comments are deleted via AJAX, remove them from the DOM
entirely
Previously, deleted comments were merely hidden using jQuery.fadeOut(). As
a
result, when the show/hide comment button was toggled - applying $.show()
to
all comment items - the comments would appear again, even though they had
been
deleted from the server. Removing them from the DOM ensures that this
won't
happen.
See #4844
Props merty
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4844#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list