function taxonomy_manager_double_tree_copy_validate in Taxonomy Manager 7
1 string reference to 'taxonomy_manager_double_tree_copy_validate'
File
- ./
taxonomy_manager.admin.inc, line 2184
Code
function taxonomy_manager_double_tree_copy_validate($form, &$form_state) {
taxonomy_manager_double_tree_switch_validate($form, $form_state);
$values = $form_state['values']['double_tree_values'];
if (strpos($form_state['input']['_triggering_element_name'], 'right') !== FALSE) {
$form_state['values']['double_tree_values']['update_tree_left'] = FALSE;
}
else {
$form_state['values']['double_tree_values']['update_tree_right'] = FALSE;
}
}