some debugging
This commit is contained in:
@@ -166,6 +166,7 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s
|
||||
|
||||
// update cached options for tableselect
|
||||
$cached_form = form_get_cache($form['#build_id'], $form_state);
|
||||
watchdog('booking_debug', "<pre>Manual email cached form\n@info</pre>", array('@info' => print_r( $cached_form, true)));
|
||||
$cached_form['table']['#default_value'] = $new_default_values;
|
||||
form_set_cache($form['#build_id'], $cached_form, $form_state);
|
||||
|
||||
@@ -188,6 +189,8 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s
|
||||
// remove current value
|
||||
//unset($form['table']['#default_value']);
|
||||
//unset($form['table']['#value']);
|
||||
|
||||
watchdog('booking_debug', "<pre>Manual email table element\n@info</pre>", array('@info' => print_r( $form['table'], true)));
|
||||
|
||||
// update the tableselect
|
||||
$commands = array();
|
||||
|
Reference in New Issue
Block a user