fix bug
This commit is contained in:
@@ -447,8 +447,6 @@ function booking_manual_email_form($form, &$form_state, $input_option = "")
|
||||
'#default_value' => $values,
|
||||
'#empty' => t('No attendees found.'),
|
||||
'#attributes' => array('id' => 'sort-table'),
|
||||
'#prefix' => '<div id="manual-email-attendees-items">',
|
||||
'#suffix' => '</div>',
|
||||
);
|
||||
//watchdog('booking_debug', "<pre>Manual email form default values\n@info</pre>", array('@info' => print_r( $values, true)));
|
||||
//watchdog('booking_debug', "<pre>Manual email form table\n@info</pre>", array('@info' => print_r( $form['table'], true)));
|
||||
@@ -510,9 +508,9 @@ function _booking_email_get_default_selection_callback($form, $form_state) {
|
||||
ajax_command_replace("#booking_email_default_ids_wrapper", $output_html),
|
||||
// This will call the command bookingEmailIDs in our custom JS file.
|
||||
array('command' => 'bookingAjaxCheckboxes',
|
||||
'formDataElement' => 'booking_email_default_ids',
|
||||
'formName' => 'booking_manual_email_form',
|
||||
'checkboxName' => 'table',
|
||||
'formDataElement' => 'booking_email_default_ids', //name of the hidden form element that contains the json data
|
||||
'formName' => 'booking-manual-email-form', //note the dashes instead of underscores!
|
||||
'checkboxName' => 'table', //form element for tableselect
|
||||
),
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user