debug
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user