add form rebuild to submit hook
This commit is contained in:
@@ -383,6 +383,7 @@ function booking_emails_custom_ajax_form_submit($form, &$form_state) {
|
|||||||
$emailtype = $values['email-type'];
|
$emailtype = $values['email-type'];
|
||||||
variable_set('booking_email_subject_' . $emailtype, $values['booking_email_subjectline_custom']);
|
variable_set('booking_email_subject_' . $emailtype, $values['booking_email_subjectline_custom']);
|
||||||
variable_set('booking_email_' . $emailtype, $values['booking_email_body_custom']);
|
variable_set('booking_email_' . $emailtype, $values['booking_email_body_custom']);
|
||||||
|
$form_state['rebuild'] = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user