test again

This commit is contained in:
2016-05-26 13:25:00 +10:00
parent 1444a73331
commit ccb9eb7c73

View File

@@ -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,