From edccce94a2aa580019a2c4a65d845f983c752162 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 13:46:52 +1000 Subject: [PATCH] test more --- booking.emails.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index 56409ed..b501a27 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -44,6 +44,7 @@ function booking_manual_email() '#ajax' => array( 'callback' => '_booking_manual_email_selecttype_ajax_callback', 'wrapper' => 'manual-email-attendees-items', + 'method' => 'replace', 'event' => 'change', ), ); @@ -264,7 +265,7 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) { $form['table']['#header'] = $header; $form['table']['#default_value'] = $new_default_values; $form['table']['#value'] = $new_default_values; - return; + return $form['table']; $form['table'] = array ( '#type' => 'tableselect',