reference further down

This commit is contained in:
2016-05-26 10:08:34 +10:00
parent 08212c03ef
commit 43558a4771

View File

@@ -191,11 +191,11 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state)
//unset($form['table']['#default_value']); //unset($form['table']['#default_value']);
//unset($form['table']['#value']); //unset($form['table']['#value']);
watchdog('booking_debug', "<pre>Manual email table form array\n@info</pre>", array('@info' => print_r( $form['table'], true))); watchdog('booking_debug', "<pre>Manual email table form array\n@info</pre>", array('@info' => print_r( $form, true)));
// update the tableselect // update the tableselect
$commands = array(); $commands = array();
$commands[] = ajax_command_replace('#manual-email-attendees-items', drupal_render($form['table'])); $commands[] = ajax_command_replace('#manual-email-attendees-items', drupal_render($form['new']['table']));
return array('#type' => 'ajax', '#commands' => $commands); return array('#type' => 'ajax', '#commands' => $commands);
} }