diff --git a/booking.emails.inc b/booking.emails.inc index 142373d..1cbcb3f 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -178,12 +178,12 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) watchdog('booking_debug', "
Manual email new default values\n@info", array('@info' => print_r( $form['new']['table']['#default_value'], true))); watchdog('booking_debug', "
Manual email new form array\n@info", array('@info' => print_r( $form['new'], true))); - $new_html = drupal_render($form['new']['table']); - watchdog('booking_debug', "
Manual email rendered table\n@info", array('@info' => print_r( $new_html), true)); + //$new_html = drupal_render($form['new']['table']); + //watchdog('booking_debug', "
Manual email rendered table\n@info", array('@info' => print_r( $new_html), true)); // update the tableselect $commands = array(); - $commands[] = ajax_command_replace('#manual-email-attendees-items', $new_html); + $commands[] = ajax_command_replace('#manual-email-attendees-items', drupal_render($form['new']['table'])); return array('#type' => 'ajax', '#commands' => $commands); }