This commit is contained in:
2016-05-26 09:26:21 +10:00
parent 7a08abe8ee
commit 563a41a948

View File

@@ -170,7 +170,7 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s
form_set_cache($form['#build_id'], $cached_form, $form_state);
// configure new tableselect based on old table select
$form['new']['table']['#options'] = $cached_form['table']['#options'];
$form['new']['table'] = $cached_form['table'];
//set new default values
$form['new']['table']['#default_value'] = $new_default_values;
@@ -186,8 +186,8 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s
// add new radios to tableselect
form_builder($form['#form_id'], $form['table'], $form_state);
// remove current value
unset($form['table']['#default_value']);
unset($form['table']['#value']);
//unset($form['table']['#default_value']);
//unset($form['table']['#value']);
// update the tableselect
$commands = array();