From c558d2e6261f6410cf306d691c6801bea8ac2d4e Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 12:06:38 +1000 Subject: [PATCH] making progress --- booking.emails.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index 3788085..05f7213 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -124,6 +124,7 @@ function booking_manual_email() */ $form['table'] = array ( '#type' => 'tableselect', + '#multiple' => TRUE, '#header' => $header, '#options' => _booking_manual_email_generate_options(), //'#default_value' => $values, @@ -254,6 +255,7 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) $form['table'] = array ( '#type' => 'tableselect', + '#multiple' => TRUE, '#header' => $header, '#options' => $options, //'#default_value' => $values, @@ -263,7 +265,7 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) '#suffix' => '', ); watchdog('booking_debug', "
Manual email new form table\n@info
", array('@info' => print_r( $form['table'], true))); - //$form['table']['#default_value'] = $new_default_values; + $form['table']['#default_value'] = $new_default_values; $form['table'] = form_process_tableselect($form['table']); return $form['table'];