This commit is contained in:
2016-05-26 13:56:00 +10:00
parent 235e03a1ab
commit 7f4f3ff411

View File

@@ -268,8 +268,7 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) {
// update cached options for tableselect // update cached options for tableselect
$cached_form = form_get_cache($form['#build_id'], $form_state); $cached_form = form_get_cache($form['#build_id'], $form_state);
$cached_form['table']['#options'] = $options; $cached_form['table'] = $form['table'];
$cached_form['table']['#default_value'] = $new_default_values;
form_set_cache($form['#build_id'], $cached_form, $form_state); form_set_cache($form['#build_id'], $cached_form, $form_state);
/* /*
$form['table']['#options'] = $options; $form['table']['#options'] = $options;