$default = ($link['mlid'] ? $link['menu_name'] . ':' . $link['plid'] : variable_get('menu_parent_' . $type, 'main-menu:0'));
    if (isset($form['menu']['link']['parent']['#options'][$default])) {
      $form['menu']['link']['parent']['#default_value'] = $default;
    }

Comments

hefox’s picture

Status: Active » Fixed

  • hefox committed db7bd26 on 7.x-1.x
    Issue #2371215: don't reset to default if default been changed
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.