You are here

function taxonomy_manager_load_tid_submit in Taxonomy Manager 7

submit handler for loading term data form

1 string reference to 'taxonomy_manager_load_tid_submit'
taxonomy_manager_form in ./taxonomy_manager.admin.inc
defines forms for taxonomy manager interface

File

./taxonomy_manager.admin.inc, line 1217

Code

function taxonomy_manager_load_tid_submit($form, &$form_state) {

  // Unset input, so that the term data form has fresh values.
  unset($form_state['input']);
  if ($form_state['values']['load-tid-refresh-tree']) {
    form_set_value(array(
      '#parents' => array(
        'tree-update',
      ),
    ), array(
      'update' => TRUE,
    ), $form_state);
  }
  $form_state['rebuild'] = TRUE;
}