Problem/Motivation

When the submit handler salsa_my_donate_page_customize_form_submit() is executed during a creation of a supporter_my_donate_page, the supporter_my_donate_page object is created and saved.

It is not added to the form_state array though, which would be very useful in case you need to use it in a custom submit handler for example.

Proposed resolution

Add the created object to $form_state after saving it.

CommentFileSizeAuthor
#2 add_smdp_to_form_state-2599082-2.patch607 bytess_leu

Comments

s_leu created an issue. See original summary.

s_leu’s picture

Status: Active » Needs review
StatusFileSize
new607 bytes

Here's a first patch.

berdir’s picture

Status: Needs review » Fixed

Committed.

  • Berdir committed 8172c00 on 7.x-1.x authored by s_leu
    Issue #2599082 by s_leu: Make supporter_my_donate_page object available...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.