I had to comment out a chunk of Javascript in menu-block.js in order to get this module to work. For some reason when it tries to split the parent item selection into two select lists, something breaks. I end up with menus being duplicated in the menu select list and then nothing except "" shows up in the item select list. I've attached some screen shots.

If I comment out the following block in menu-block.js, I get one big parent item select list that works:

  // Split the un-wieldly "parent item" pull-down into two hierarchal pull-downs.
  $('#edit-parent')
    .html(Drupal.settings.menu_block.parent_options[Drupal.settings.menu_block.menus_default])
    .val(Drupal.settings.menu_block.parent_default)
    .before(Drupal.settings.menu_block.menus);
  $('#edit-parent-menu').change( function() {
    $('#edit-parent')
      .html(Drupal.settings.menu_block.parent_options[$('#edit-parent-menu').val()])
      .val(Drupal.settings.menu_block.parent_default);
  } );

I had this problem with both the latest release and the latest dev. I was surprised not to find anyone else with the same problem.

Any ideas?

CommentFileSizeAuthor
error_2.jpg11.58 KBadamo
error_1.jpg19.4 KBadamo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adamo’s picture

Above should say nothing except the "root" option shows up in the item select list.

bboes’s picture

I had the same problem and your solution worked well for me. Thanks!

JohnAlbin’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)