test again
This commit is contained in:
@@ -58,6 +58,8 @@ function booking_variety_regn_form($node, &$form_state)
|
|||||||
'#required' => TRUE,
|
'#required' => TRUE,
|
||||||
'#default_value' => '',
|
'#default_value' => '',
|
||||||
'#options' => _booking_get_variety_timeslot_options($timeslot->tid),
|
'#options' => _booking_get_variety_timeslot_options($timeslot->tid),
|
||||||
|
'#prefix' => '<div id="booking_variety_session_' . $timeslot->tid . 'wrapper">',
|
||||||
|
'#suffix' => '</div>',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -97,7 +99,7 @@ function booking_variety_session_callback($form, &$form_state) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
$commands[] = ajax_command_replace('booking_variety_session_wrapper', drupal_render($form['variety-sessions'][$fieldname]));
|
$commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . 'wrapper', drupal_render($form['variety-sessions'][$fieldname]));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user