Changed to below and doesn't show up anymore (based on looking at http://api.drupal.org/api/function/taxonomy_form_term/6 ).

function edit_term_form_alter(&$form, $form_state, $form_id) {
  if ($form_id == 'taxonomy_form_term' && !isset($form_state['confirm_delete']) && !isset($form_state['confirm_parents'])) {

Comments

dman’s picture

That sounds familiar and makes sense. I remember running into that issue before.
I've not seen 'confirm_parents' before now, but yes, that code seems to do something with it.

We shall roll something like that in soon!

hefox’s picture

cool, thanks

p.s.
I hadn't either, appears to be when adding the initial second level term to a non tag vocabulary? Shrug, never encountered it to my memory

 // Rebuild the form to confirm enabling multiple parents.
  elseif ($form_state['clicked_button']['#value'] == t('Save') && !$form['#vocabulary']['tags'] && count($form_state['values']['parent']) > 1 && $form['#vocabulary']['hierarchy'] < 2) {
    $form_state['rebuild'] = TRUE;
    $form_state['confirm_parents'] = TRUE;
    return;
  }