test
This commit is contained in:
@@ -170,7 +170,7 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s
|
|||||||
form_set_cache($form['#build_id'], $cached_form, $form_state);
|
form_set_cache($form['#build_id'], $cached_form, $form_state);
|
||||||
|
|
||||||
// configure new tableselect based on old table select
|
// configure new tableselect based on old table select
|
||||||
$form['new']['table']['#options'] = $cached_form['table']['#options'];
|
$form['new']['table'] = $cached_form['table'];
|
||||||
|
|
||||||
//set new default values
|
//set new default values
|
||||||
$form['new']['table']['#default_value'] = $new_default_values;
|
$form['new']['table']['#default_value'] = $new_default_values;
|
||||||
@@ -186,8 +186,8 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s
|
|||||||
// add new radios to tableselect
|
// add new radios to tableselect
|
||||||
form_builder($form['#form_id'], $form['table'], $form_state);
|
form_builder($form['#form_id'], $form['table'], $form_state);
|
||||||
// remove current value
|
// remove current value
|
||||||
unset($form['table']['#default_value']);
|
//unset($form['table']['#default_value']);
|
||||||
unset($form['table']['#value']);
|
//unset($form['table']['#value']);
|
||||||
|
|
||||||
// update the tableselect
|
// update the tableselect
|
||||||
$commands = array();
|
$commands = array();
|
||||||
|
Reference in New Issue
Block a user