diff --git a/booking.emails.inc b/booking.emails.inc index af12e51..65ff762 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -262,7 +262,8 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) { '#empty' => t('No attendees found.'), '#attributes' => array('id' => 'sort-table'), '#prefix' => '
', - '#suffix' => '
', + '#suffix' => '', + '#value' =>$new_default_values, ); // update cached options for tableselect @@ -270,11 +271,12 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) { $cached_form['table']['#options'] = $options; $cached_form['table']['#default_value'] = $new_default_values; form_set_cache($form['#build_id'], $cached_form, $form_state); - + /* $form['table']['#options'] = $options; $form['table']['#header'] = $header; $form['table']['#default_value'] = $new_default_values; $form['table']['#value'] = $new_default_values; + */ return $form['table']; $form['table'] = array (