This commit is contained in:
Nathan Coad
2018-05-22 12:37:20 +10:00
parent 5054a241b0
commit b6680c22b3

View File

@@ -273,7 +273,7 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
}
// Populate some default values if a selection has already been made
//watchdog('booking_debug', 'booking_emails_custom_ajax_form state: <pre>@info</pre>', array('@info' => print_r( $form_state, true)));
watchdog('booking_debug', 'booking_emails_custom_ajax_form state: <pre>@info</pre>', array('@info' => print_r( $form_state, true)));
if (!isset($form_state['input']['email-type'])) {
$subject_value = "";
@@ -377,7 +377,7 @@ function booking_emails_custom_ajax_form_callback($form, &$form_state) {
$form['form']['submit']['#disabled'] = TRUE;
}
//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
$form_state['rebuild'] = TRUE;