From 78eed38378db353420869e38105b79d33d108e33 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 13:49:37 +1000 Subject: [PATCH] test --- booking.emails.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) 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;