test
This commit is contained in:
@@ -280,8 +280,8 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
|
||||
$form_format = NULL;
|
||||
}
|
||||
|
||||
$form_type = 'textarea';
|
||||
$form_format = NULL;
|
||||
//$form_type = 'textarea';
|
||||
//$form_format = NULL;
|
||||
|
||||
$form['email-type'] = array(
|
||||
'#type' => 'select',
|
||||
@@ -341,7 +341,7 @@ function booking_emails_custom_ajax_form_callback($form, &$form_state) {
|
||||
$emailtype = $form_state['input']['email-type'];
|
||||
if (strpos($emailtype, 'custom') !== false) {
|
||||
$subject = variable_get('booking_email_subject_' . $emailtype, '');
|
||||
$form['form']['email-definition']['booking_email_subjectline_custom']['value'] = $subject;
|
||||
$form['form']['email-definition']['booking_email_subjectline_custom']['#value'] = $subject;
|
||||
|
||||
$text = variable_get('booking_email_' . $emailtype, '');
|
||||
$text = isset($text['format']) ? $text['value'] : $text;
|
||||
|
Reference in New Issue
Block a user