[buddypress-trac] [BuddyPress Trac] #3412: Clicking "Favorite" fast multiple times makes it go crazy and disappear!
buddypress-trac
noreply at wordpress.org
Fri Sep 16 14:13:47 UTC 2016
#3412: Clicking "Favorite" fast multiple times makes it go crazy and disappear!
--------------------------+-----------------------------
Reporter: InterMike | Owner:
Type: defect (bug) | Status: new
Priority: trivial | Milestone: Future Release
Component: Activity | Version:
Severity: trivial | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by lakrisgubben):
* cc: alexander.berthelsen@… (added)
* keywords: needs-patch => has-patch
Comment:
This is still a problem with latest BP (running 2016). The only real
problem is with the favouriting "button" where as reported the count for
"my favourites" goes crazy and BP makes loads of unnecessary requests to
admin-ajax.php if someone clicks repeatedly on favourite. Attached is a
super simple patch which just checks for the class "loading" and bails if
that is set, works great as far as I can tell! :)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3412#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list