change form
This commit is contained in:
@@ -363,10 +363,10 @@ function booking_emails_custom_ajax_form_callback($form, &$form_state) {
|
|||||||
// TODO : Figure out what this should be if HTML emails are NOT enabled
|
// TODO : Figure out what this should be if HTML emails are NOT enabled
|
||||||
$form['form']['email-definition']['booking_email_body_custom']['value']['#value'] = $text;
|
$form['form']['email-definition']['booking_email_body_custom']['value']['#value'] = $text;
|
||||||
|
|
||||||
$form_state['form']['storage']['emailtype'] = $emailtype;
|
$form['form']['storage']['emailtype'] = $emailtype;
|
||||||
}
|
}
|
||||||
|
|
||||||
//watchdog('booking_debug', 'booking_emails_custom_ajax_form_callback: <pre>@info</pre>', array('@info' => print_r( $form, true)));
|
watchdog('booking_debug', 'booking_emails_custom_ajax_form_callback: <pre>@info</pre>', array('@info' => print_r( $form, true)));
|
||||||
|
|
||||||
// Rebuild the form
|
// Rebuild the form
|
||||||
$form_state['rebuild'] = TRUE;
|
$form_state['rebuild'] = TRUE;
|
||||||
|
Reference in New Issue
Block a user