diff --git a/booking.emails.inc b/booking.emails.inc index b91aede..af12e51 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -254,6 +254,17 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) { unset($form['table']); + $form['table'] = array ( + '#type' => 'tableselect', + '#header' => $header, + '#options' => $options, + '#default_value' => $new_default_values, + '#empty' => t('No attendees found.'), + '#attributes' => array('id' => 'sort-table'), + '#prefix' => '
', + '#suffix' => '
', + ); + // update cached options for tableselect $cached_form = form_get_cache($form['#build_id'], $form_state); $cached_form['table']['#options'] = $options;