[buddypress-trac] [BuddyPress Trac] #7400: Allow Multiple activity loop on same page work properly
buddypress-trac
noreply at wordpress.org
Tue Dec 20 06:10:08 UTC 2016
#7400: Allow Multiple activity loop on same page work properly
-------------------------+-----------------------------
Reporter: sbrajesh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Templates | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
At the moment, it is possible to create multiple activity loops and have
them on same page.
The problem lies the way current js is implemented it. The code does not
differentiate between the different loops and if you do any action on one
of the loop items, the other loop gets affected.
For example:-
- Load more items in first loop, all other loops will have the same done
- Filtering of activity using the selectboxes, all other loops gte
filtered
- same goes for comment/reply etc
The problem lies with the javascipt code, It should be scoped to the the
loop.
Please find a patch attached. I will be happy to help get it working,
please let me know your suggestions for improving the patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7400>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list