Skip to:
Content

BuddyPress.org

#8763 closed task (fixed)

BP Nouveau: an event should be triggered to custom buttons to inform the Activity Post form has been reset

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 11.0.0 Priority: normal
Severity: normal Version: 3.0.0
Component: Templates Keywords: has-patch
Cc:

Description

When the activity post form is completely reset (the user clicked on the reset button or the form has been submitted), we need to inform custom buttons of this event. We forgot to implement this when we've first made the template pack available in BuddyPress.

I figured this out working on the BP Attachments plugin as a feature.

Attachments (1)

8763.patch (735 bytes) - added by imath 22 months ago.

Download all attachments as: .zip

Change History (2)

@imath
22 months ago

#1 @imath
22 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13366:

Trigger the Activity Post Form resetForm event to custom buttons

BP Nouveau's Activity Post Form can be extended with custom buttons. These
custom buttons need to be able to customize their behavior when the
Activity Post Form has been reset.

Fixes #8763

Note: See TracTickets for help on using tickets.