test
This commit is contained in:
@@ -285,8 +285,12 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
|
||||
$emailtype = $form_state['input']['email-type'];
|
||||
$subject_value = $form_state['input']['booking_email_subjectline_custom'];
|
||||
$body_value = $form_state['input']['booking_email_body_custom']['value'];
|
||||
|
||||
// only enable the submit button if the email type is not the initial empty one
|
||||
if ($form_state['input']['email-type'] !== 'NULL') {
|
||||
$submit_button_disabled = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
if(variable_get('booking_enable_html_mail', 0) == 1) {
|
||||
$form_type = 'text_format';
|
||||
|
Reference in New Issue
Block a user