[buddypress-trac] [BuddyPress] #3897: "Friendship requested" button should not be disabled
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jan 3 06:20:10 UTC 2012
#3897: "Friendship requested" button should not be disabled
--------------------------+-----------------------------
Reporter: r-a-y | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Theme | Version: 1.2
Severity: normal | Keywords: dev-feedback
--------------------------+-----------------------------
When a displayed user's friendship is pending, the logged-in user should
be able to click on the "Friendship requested" button to manage the
request.
However, due to the JS here:
https://buddypress.trac.wordpress.org/browser/tags/1.5.2/bp-themes/bp-
default/_inc/global.js#L844
The link is disabled.
One way to remedy this is to add a CSS class to the "pending" friendship
button called "no-disable". Then in the JS, use hasClass to check if this
CSS exists. If it does, let the link through.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3897>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list