This commit is contained in:
Nathan Coad
2018-05-02 14:40:22 +10:00
parent 27c4920165
commit 9917b5990b

View File

@@ -152,7 +152,7 @@ function booking_variety_session_callback($form, &$form_state) {
//$form['variety-sessions'][$fieldname]['#options'] = $options; //$form['variety-sessions'][$fieldname]['#options'] = $options;
// Tell drupal to update the wrapper for this field // Tell drupal to update the wrapper for this field
$commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . 'wrapper', render($form['variety-sessions'][$fieldname])); $commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . '_wrapper', render($form['variety-sessions'][$fieldname]));
} }
$form_state['rebuild'] = TRUE; $form_state['rebuild'] = TRUE;