[buddypress-trac] [BuddyPress Trac] #5467: Replace .parent() for .closest in buddypress.js

buddypress-trac noreply at wordpress.org
Mon Mar 17 15:37:00 UTC 2014


#5467: Replace .parent() for .closest in buddypress.js
-------------------------+-----------------------------
 Reporter:  hnla         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Theme        |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 In the same manner of previous tickets on this aspect another
 .parent().parent().parent() has caused issues with adjusted markup causing
 activity unfav in activity favourit view jumping it's slideUp() to the
 wrong parent node and hiding all the activity items rather than the
 activity-item in question.

 Patch replaces .parent() with .closest('activity-item')

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5467>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list