test again
This commit is contained in:
@@ -244,10 +244,6 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state)
|
||||
'travel_form' => array('data' => t('Travel Submitted?'), 'field' => 'tid'),
|
||||
);
|
||||
|
||||
$form['table']['#options'] = $options;
|
||||
$form['table']['#header'] = $header;
|
||||
return;
|
||||
|
||||
// generate new default values
|
||||
// @todo use a function for this
|
||||
if ($select_type == "Unpaid") {
|
||||
@@ -256,6 +252,11 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state)
|
||||
$new_default_values = array("1815" => TRUE);
|
||||
}
|
||||
|
||||
$form['table']['#options'] = $options;
|
||||
$form['table']['#header'] = $header;
|
||||
$form['table']['#default_value'] = $new_default_values;
|
||||
return;
|
||||
|
||||
$form['table'] = array (
|
||||
'#type' => 'tableselect',
|
||||
'#multiple' => TRUE,
|
||||
|
Reference in New Issue
Block a user