another thing

This commit is contained in:
2016-05-26 13:15:14 +10:00
parent f0b4e2d310
commit c9e7d2dc33

View File

@@ -256,14 +256,16 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state)
'#header' => $header,
'#options' => $options,
'#value' => array("1814" => TRUE),
'#default_value' => array("1814" => TRUE),
'#empty' => t('No attendees found.'),
'#attributes' => array('id' => 'sort-table'),
'#prefix' => '<div id="manual-email-attendees-items">',
'#suffix' => '</div>',
);
watchdog('booking_debug', "<pre>Manual email new form table\n@info</pre>", array('@info' => print_r( $form['table'], true)));
watchdog('booking_debug', "<pre>Manual email new form table before\n@info</pre>", array('@info' => print_r( $form['table'], true)));
//$form['table']['#default_value'] = $new_default_values;
$form['table'] = form_process_tableselect($form['table']);
watchdog('booking_debug', "<pre>Manual email new form table after\n@info</pre>", array('@info' => print_r( $form['table'], true)));
return $form['table'];