From c9705ce1221b604c310bb48dc583d6ea70e4631d Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 2 May 2018 15:30:40 +1000 Subject: [PATCH] test --- booking.variety_form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.variety_form.inc b/booking.variety_form.inc index 066abed..3136cc7 100644 --- a/booking.variety_form.inc +++ b/booking.variety_form.inc @@ -161,7 +161,7 @@ function booking_variety_session_callback($form, &$form_state) { //$form['variety-sessions'][$fieldname]['#title'] = t('Rebuilt Variety Session: ' . $timeslot->booking_variety_time_descrip); // Tell drupal to update the wrapper for this field - $commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . '_wrapper', drupal_render($form[$fieldname])); + $commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . '_wrapper', drupal_render($form['variety-sessions'][$fieldname])); //$commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . '_wrapper', drupal_render($form)); }