test
This commit is contained in:
@@ -177,11 +177,13 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state)
|
||||
watchdog('booking_debug', "<pre>Manual email new form table\n@info</pre>", array('@info' => print_r( $form['new']['table'], true)));
|
||||
watchdog('booking_debug', "<pre>Manual email new default values\n@info</pre>", array('@info' => print_r( $form['new']['table']['#default_value'], true)));
|
||||
watchdog('booking_debug', "<pre>Manual email new form array\n@info</pre>", array('@info' => print_r( $form['new'], true)));
|
||||
watchdog('booking_debug', "<pre>Manual email rendered table\n@info</pre>", array('@info' => print_r( drupal_render( $form['new']['table']), true)));
|
||||
|
||||
$new_html = drupal_render($form['new']['table']);
|
||||
watchdog('booking_debug', "<pre>Manual email rendered table\n@info</pre>", array('@info' => print_r( $new_html), true));
|
||||
|
||||
// update the tableselect
|
||||
$commands = array();
|
||||
$commands[] = ajax_command_replace('#manual-email-attendees-items', drupal_render( $form['new']['table']));
|
||||
$commands[] = ajax_command_replace('#manual-email-attendees-items', $new_html);
|
||||
return array('#type' => 'ajax', '#commands' => $commands);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user