test partial form rebuild

This commit is contained in:
Nathan Coad
2018-05-02 15:52:47 +10:00
parent 346414ba3b
commit 427f1dd2e7

View File

@@ -251,7 +251,8 @@ function booking_variety_regn_callback($form, &$form_state) {
*/
function booking_variety_session_form_callback($form, &$form_state) {
$form['identity']['booking_nid']['#description'] = "Done";
return $form;
$form_state['rebuild'] = TRUE;
return $form['variety-sessions'];
}
/**