diff --git a/booking.emails_admin.inc b/booking.emails_admin.inc index 440423f..cb52e6c 100644 --- a/booking.emails_admin.inc +++ b/booking.emails_admin.inc @@ -498,7 +498,7 @@ function _booking_email_get_default_selection_callback($form, $form_state) { return array( '#type' => 'ajax', '#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. ) );