try another thing

This commit is contained in:
2016-05-26 13:10:46 +10:00
parent 112a29a492
commit b5f46b39b6

View File

@@ -36,7 +36,6 @@ function booking_manual_email()
'#options' => $email_options_array, '#options' => $email_options_array,
); );
/*
$form['select-type'] = array( $form['select-type'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Pre-Select People'), '#title' => t('Pre-Select People'),
@@ -48,7 +47,6 @@ function booking_manual_email()
'event' => 'change', 'event' => 'change',
), ),
); );
*/
$header = array( $header = array(
'booking_nid' => array('data' => t('Id'), 'field' => 'nid', 'sort' => 'asc'), 'booking_nid' => array('data' => t('Id'), 'field' => 'nid', 'sort' => 'asc'),
@@ -257,7 +255,7 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state)
'#multiple' => TRUE, '#multiple' => TRUE,
'#header' => $header, '#header' => $header,
'#options' => $options, '#options' => $options,
'#default_value' => array("1814" => TRUE), '#value' => array("1814" => TRUE),
'#empty' => t('No attendees found.'), '#empty' => t('No attendees found.'),
'#attributes' => array('id' => 'sort-table'), '#attributes' => array('id' => 'sort-table'),
'#prefix' => '<div id="manual-email-attendees-items">', '#prefix' => '<div id="manual-email-attendees-items">',