[buddypress-trac] [BuddyPress] #4152: Favorite/Remove Favorite ajax does not report failure
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Apr 18 15:48:20 UTC 2012
#4152: Favorite/Remove Favorite ajax does not report failure
--------------------------+-----------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Theme | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
The AJAX handlers `bp_dtheme_mark_activity_favorite()` and
`bp_dtheme_unmark_activity_favorite()` return the opposite text string,
regardless of what `bp_activity_add_user_favorite()` or
`bp_activity_remove_user_favorite()` return. As a result, if those
functions return false, it'll look to the user like the action has been
successful.
See https://github.com/karmatosed/Status/issues/70
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4152>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list