Opened 7 years ago
Closed 7 years ago
#7700 closed defect (bug) (fixed)
Ajax Responses from friendship functions return wrong button classes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9.3 |
Component: | Templates | Keywords: | |
Cc: | chris.p.herbst@… |
Description
When clicking on the "Add Friend" and "Cancel Friendship Request" buttons, the buttons get replaced by the ajax response of the functions that are called. But these functions return HTML markup with different classes than the HTML that gets send on the initial page request. This makes it hard for CSS to consistently style those buttons. The attached patch adds the missing classes to the ajax response.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
We aren't actively updating the BP-Legacy templates.
Given you've provided a patch, it should nonetheless be easy for us to compare the HTML before/after; it is very unlikely break things. Will try to look at for 3.0.0