debugging
This commit is contained in:
@@ -273,6 +273,8 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Populate some default values if a selection has already been made
|
// 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)));
|
||||||
|
|
||||||
if (!isset($form_state['storage']['emailtype'])) {
|
if (!isset($form_state['storage']['emailtype'])) {
|
||||||
$subject_value = "";
|
$subject_value = "";
|
||||||
$body_value = "";
|
$body_value = "";
|
||||||
@@ -313,8 +315,6 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
|
|||||||
'#suffix' => '</div>'
|
'#suffix' => '</div>'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$form['email-definition']['booking_email_subjectline_custom'] = array (
|
$form['email-definition']['booking_email_subjectline_custom'] = array (
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Subject line for Custom Email'),
|
'#title' => t('Subject line for Custom Email'),
|
||||||
|
Reference in New Issue
Block a user