This commit is contained in:
Nathan Coad
2018-05-02 15:32:50 +10:00
parent 7a3a43a837
commit 6c3ce18d2d

View File

@@ -165,10 +165,10 @@ function booking_variety_session_callback($form, &$form_state) {
//$commands[] = ajax_command_replace('#booking_variety_session_' . $timeslot->tid . '_wrapper', drupal_render($form));
}
//$form_state['rebuild'] = TRUE;
//return array('#type' => 'ajax', '#commands' => $commands);
$page = array('#type' => 'ajax', '#commands' => $commands);
ajax_deliver($page);
$form_state['rebuild'] = TRUE;
return array('#type' => 'ajax', '#commands' => $commands);
//$page = array('#type' => 'ajax', '#commands' => $commands);
//ajax_deliver($page);
}