This commit is contained in:
2016-05-26 13:59:24 +10:00
parent b7e7f77e9a
commit 0299adc9a0

View File

@@ -44,6 +44,7 @@ function booking_manual_email()
'#ajax' => array( '#ajax' => array(
'callback' => '_booking_manual_email_selecttype_ajax_callback', 'callback' => '_booking_manual_email_selecttype_ajax_callback',
'wrapper' => 'manual-email-attendees-items', 'wrapper' => 'manual-email-attendees-items',
'method' => 'replace',
'event' => 'change', 'event' => 'change',
), ),
); );
@@ -276,6 +277,7 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) {
$form['table']['#default_value'] = $new_default_values; $form['table']['#default_value'] = $new_default_values;
$form['table']['#value'] = $new_default_values; $form['table']['#value'] = $new_default_values;
*/ */
watchdog('booking_debug', "<pre>Manual email new form table\n@info</pre>", array('@info' => print_r( $form['new']['table'], true)));
return $form['new']['table']; return $form['new']['table'];
$form['table'] = array ( $form['table'] = array (