This commit is contained in:
Nathan Coad
2016-06-03 10:46:33 +10:00
parent 6c1eb2528b
commit 4f81f56c75

View File

@@ -498,7 +498,7 @@ function _booking_email_get_default_selection_callback($form, $form_state) {
return array( return array(
'#type' => 'ajax', '#type' => 'ajax',
'#commands' => array( '#commands' => array(
ajax_command_replace("#booking_email_default_ids_wrapper", $output_html)), ajax_command_replace("#booking_email_default_ids_wrapper", $output_html),
array('command' => 'bookingEmailIDs'), // This will call the command nameOfCommand we just created in the JS file. array('command' => 'bookingEmailIDs'), // This will call the command nameOfCommand we just created in the JS file.
) )
); );